CVE-2012-5162 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the id parameter in OSClass, potentially reading or modifying database contents.
- 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-5162?
CVE-2012-5162 is a medium-severity SQL injection vulnerability in n/a, published on 26 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Multiple SQL injection vulnerabilities in oc-admin/ajax/ajax.php in OSClass before 2.3.5 allow remote attackers to execute arbitrary SQL commands via the id parameter in a (1) edit_category_post or (2) enable_category action to index.php.
Weakness: CWE-89
Which versions are affected by CVE-2012-5162?
It affects 1 product.
Products include Osclass Osclass.
How do I fix CVE-2012-5162?
No fix has been published for CVE-2012-5162 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-5162 being exploited?
There is no known exploitation of CVE-2012-5162 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-h4fh-7rp6-262g.