CVE-2008-1591: The pnVarPrepForStore function in PostNuke 0.764 and earlier skips input sanitization when magic_quotes_runtim
CVE-2008-1591 is a high-severity flaw (CVSS 7.5) affecting postnuke. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The pnVarPrepForStore function in PostNuke 0.764 and earlier skips input sanitization when magic_quotes_runtime is enabled, which allows remote attackers to conduct SQL injection attacks and execute arbitrary SQL commands via input associated with server variables, as demonstrated by the CLIENT_IP HTTP header (HTTP_CLIENT_IP variable).
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2008-03-31 |
| 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: PostNuke 0.764 - Blind 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-2008-1591?
postnuke: upgrade to newer than 0.764. Exact commands for each OS are on this page.
Is CVE-2008-1591 being exploited?
CVE-2008-1591 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-2008-1591 affect?
CVE-2008-1591 affects postnuke. Severity is high (CVSS 7.5). The pnVarPrepForStore function in PostNuke 0.764 and earlier skips input sanitization when magic_quotes_runtime is enabled, which allows remote attackers to conduct SQL injection attacks and execute arbitrary SQL commands via input associat
How urgent is CVE-2008-1591?
Priority 47/100. High severity; Public exploit reference
Related CVEs
- CVE-2010-1713 HIGH 7.5 DOWNGRADE SQL injection vulnerability in modules.php in PostNuke 0.764 allows remote attackers to execute arbitrary SQL
- CVE-2007-0386 HIGH 10.0 DOWNGRADE Unspecified vulnerability in the rating section in PostNuke 0.764 has unknown impact and attack vectors, relat
- CVE-2007-0385 HIGH 7.8 DOWNGRADE The faq section in PostNuke 0.764 allows remote attackers to obtain sensitive information (the full path) via
- CVE-2007-0384 MEDIUM 5.1 DOWNGRADE Cross-site scripting (XSS) vulnerability in preview in the reviews section in PostNuke 0.764 allows remote att
- CVE-2006-6267 HIGH 7.8 DOWNGRADE PostNuke 0.7.5.0, and certain minor versions, allows remote attackers to obtain sensitive information via a no