CVE-2006-2040 SQL injection in n/a

Medium 6.4 Published Updated

Remote attackers can execute arbitrary SQL commands via multiple parameters in photokorn, potentially accessing or modifying database contents.

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

What is CVE-2006-2040?

CVE-2006-2040 is a medium-severity SQL injection vulnerability in n/a, published on 26 Apr 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in photokorn 1.53 and 1.542 allow remote attackers to execute arbitrary SQL commands via the (1) cat, (2) pic and (3) page parameter in index.php; (4) id parameter in postcard.php; and (5) cat parameter in print.php.

Which versions are affected by CVE-2006-2040?

It affects 1 product.

Products include Photokorn Photokorn.

How do I fix CVE-2006-2040?

No fix has been published for CVE-2006-2040 yet. Limit exposure of the affected software until one is available.

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-2040 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-2040 exists.

Public exploit code: 3 Exploit-DB entries.

Sources

Also known as GHSA-8366-x4mr-7jjh.

Is CVE-2006-2040 in your software?

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

Check your SBOMs for free