Miggo Logo

CVE-2006-7217:
Apache Derby SQL Injection

4

CVSS Score

Basic Information

EPSS Score
-
Published
5/1/2022
Updated
2/12/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
AV:N/AC:L/Au:S/C:N/I:P/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.derby:derbymaven< 10.2.1.610.2.1.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The analysis focused on the changes related to schema privilege checks during the bind phase of SQL statements, particularly for the DropSchemaNode. The bind() method in DropSchemaNode and the addRequiredSchemaPriv() method in CompilerContext and its implementation are key to understanding and detecting the vulnerability.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*p**** **r*y ***or* **.*.*.* *o*s not **t*rmin* s***m* privil*** r*quir*m*nts *urin* t** *ropS***m*No** *in* p**s*, w*i** *llows r*mot* *ut**nti**t** us*rs to *x**ut* *r*itr*ry *rop s***m* st*t*m*nts in SQL *ut*oriz*tion mo**.

Reasoning

T** *n*lysis *o*us** on t** ***n**s r*l*t** to s***m* privil*** ****ks *urin* t** *in* p**s* o* SQL st*t*m*nts, p*rti*ul*rly *or t** *ropS***m*No**. T** *in*() m*t*o* in *ropS***m*No** *n* t** ***R*quir**S***m*Priv() m*t*o* in *ompil*r*ont*xt *n* its