CVE-2005-4849 Apache Derby exposes user and password attributes

Medium 5.0 Published Updated

Attackers can obtain cleartext user credentials via specific database commands or metadata functions in Apache Derby.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2005-4849?

CVE-2005-4849 is a medium-severity vulnerability in n/a, published on 5 Jul 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Derby before 10.1.2.1 exposes the (1) user and (2) password attributes in cleartext via (a) the RDBNAM parameter of the ACCSEC command and (b) the output of the DatabaseMetaData.getURL function, which allows context-dependent attackers to obtain sensitive information.

Weakness: CWE-200

Which versions are affected by CVE-2005-4849?

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.1.2.1
org.apache.derby:derby MavenAll versions10.1.2.1

Products include Apache Derby.

How do I fix CVE-2005-4849?

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

Is CVE-2005-4849 being exploited?

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

Sources

Also known as GHSA-rp7r-79rm-2758.

Is CVE-2005-4849 in your software?

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

Check your SBOMs for free