Photokorn · Photokorn · CVE-2006-2040
**Name of the Vulnerable Software and Affected Versions**
photokorn versions 1.53 through 1.542
**Description**
The issue allows remote attackers to execute arbitrary SQL commands. This can be achieved via several parameters in different PHP files, including the `cat`, `pic`, and `page` parameters in "index.php", the `id` parameter in "postcard.php", and the `cat` parameter in "print.php".
**Recommendations**
For photokorn versions 1.53 through 1.542, consider restricting access to the vulnerable parameters `cat`, `pic`, `page`, and `id` in the respective PHP files until a patch is available. As a temporary workaround, avoid using these parameters in "index.php", "postcard.php", and "print.php" to minimize the risk of exploitation.