CVE-2006-2040: Multiple SQL injection vulnerabilities in photokorn 1.53 and 1.542 allow remote attackers to execute arbitrary
CVE-2006-2040 is a medium-severity flaw (CVSS 6.4) affecting photokorn. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 9%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 6.4 (Medium) |
| EPSS exploit chance | 4.0% (top 9%) |
| CISA exploited list | No |
| Published | 2006-04-26 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: PhotoKorn 1.53/1.54 - 'id' SQL Injection
- Exploit-DB: PhotoKorn 1.53/1.54 - 'index.php' Multiple SQL Injections
- Exploit-DB: PhotoKorn 1.53/1.54 - 'print.php?cat' SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2006-2040?
photokorn: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2006-2040 being exploited?
CVE-2006-2040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2006-2040 affect?
CVE-2006-2040 affects photokorn. Severity is medium (CVSS 6.4). 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 paramete
How urgent is CVE-2006-2040?
Priority 50/100. EPSS top 9%: very likely to be exploited; Public exploit reference
Software pages
Related CVEs
- CVE-2008-0297 MEDIUM 5.0 MITIGATE PhotoKorn allows remote attackers to obtain database credentials via a direct request to update/update3.php, w