CVE-2006-7217 Apache Derby SQL Injection

Medium 4.0 Published Updated

Authenticated users can bypass schema privilege checks to drop arbitrary schemas in Apache Derby when SQL authorization is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-7217?

CVE-2006-7217 is a medium-severity missing authorization vulnerability in n/a, published on 5 Jul 2007. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Apache Derby before 10.2.1.6 does not determine schema privilege requirements during the DropSchemaNode bind phase, which allows remote authenticated users to execute arbitrary drop schema statements in SQL authorization mode.

Which versions are affected by CVE-2006-7217?

2 open source packages ship an affected version, including org.apache.derby:derby. It affects 1 product.

PackageAffectedFixed in
org.apache.derby:derby MavenAll versions10.2.1.6
org.apache.derby:derby MavenAll versions10.2.1.6

Products include Apache Derby.

How do I fix CVE-2006-7217?

Upgrade org.apache.derby:derby to 10.2.1.6 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2006-7217 being exploited?

There is no known exploitation of CVE-2006-7217 in the wild and no public exploit code.

Sources

Also known as GHSA-v7cq-pq7v-mh5v.

Is CVE-2006-7217 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free