CVE-2008-1591 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via HTTP headers when magic_quotes_runtime is enabled, compromising database integrity.
- 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-2008-1591?
CVE-2008-1591 is a high-severity SQL injection vulnerability in n/a, published on 31 Mar 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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).
Weakness: CWE-89
Which versions are affected by CVE-2008-1591?
It affects 1 product.
Products include Postnuke Postnuke.
How do I fix CVE-2008-1591?
No fix has been published for CVE-2008-1591 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-2008-1591 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-1591 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fmhx-g7fq-9624.