CVE-2006-0840 SQL injection in n/a

Medium 5.0 Published Updated

Remote attackers can exploit SQL injection in Mantis to trigger errors or potentially access data via the sort parameter.

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-0840?

CVE-2006-0840 is a medium-severity SQL injection vulnerability in n/a, published on 22 Feb 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

manage_user_page.php in Mantis 1.00rc4 and earlier does not properly handle a sort parameter containing a ' (quote) character, which allows remote attackers to trigger a SQL error that may be repeatedly reported to a user who makes subsequent web accesses with the MANTIS_MANAGE_COOKIE cookie. NOTE: this issue might be the same as vector 2 in CVE-2005-4519.

Which versions are affected by CVE-2006-0840?

It affects 1 product.

Products include Mantis Mantis.

How do I fix CVE-2006-0840?

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-2006-0840 being exploited?

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

Sources

Also known as GHSA-828x-hwm7-cpgr.

Is CVE-2006-0840 in your software?

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

Check your SBOMs for free