CVE-2003-0040 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL code via the username field in the Courier mail server's PostgreSQL authentication module.

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

What is CVE-2003-0040?

CVE-2003-0040 is a high-severity SQL injection vulnerability in n/a, published on 1 Sep 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 PostgreSQL auth module for courier 0.40 and earlier allows remote attackers to execute SQL code via the user name.

Which versions are affected by CVE-2003-0040?

It affects 2 products.

Products include Double Precision Incorporated Courier Mta, Inter7 Courier-Imap.

How do I fix CVE-2003-0040?

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-2003-0040 being exploited?

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

Sources

Also known as DEBIAN-CVE-2003-0040, DSA-247, GHSA-vrgp-v3rr-v9mg.

Is CVE-2003-0040 in your software?

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

Check your SBOMs for free