CVE-2012-2236 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands via the userid parameter in PHP Gift Registry, potentially compromising database integrity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-2236?
CVE-2012-2236 is a medium-severity SQL injection vulnerability in n/a, published on 20 Apr 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL injection vulnerability in users.php in PHP Gift Registry 1.5.5 allows remote authenticated users to execute arbitrary SQL commands via the userid parameter in an edit action.
Weakness: CWE-89
Which versions are affected by CVE-2012-2236?
It affects 1 product.
Products include Ryan Walberg Php Gift Registry.
How do I fix CVE-2012-2236?
No fix has been published for CVE-2012-2236 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-2012-2236 being exploited?
There is no known exploitation of CVE-2012-2236 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-4wv2-5vm5-r9cc.