CVE-2004-0366 SQL injection in n/a
Attackers can execute arbitrary SQL statements via SQL injection in the libpam-pgsql library, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-0366?
CVE-2004-0366 is a high-severity SQL injection vulnerability in n/a, published on 6 Apr 2004. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in the libpam-pgsql library before 0.5.2 allows attackers to execute arbitrary SQL statements.
Weakness: CWE-89
Which versions are affected by CVE-2004-0366?
It affects 1 product.
Products include Pam-Pgsql Pam-Pgsql.
How do I fix CVE-2004-0366?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2004-0366 being exploited?
There is no known exploitation of CVE-2004-0366 in the wild and no public exploit code.
Sources
Also known as DSA-469, GHSA-398v-9qw7-49xj.