CVE-2012-2338 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the id_adh parameter in Galette, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-2338?
CVE-2012-2338 is a high-severity SQL injection vulnerability in n/a, published on 21 May 2012. It can be exploited over the network, with no action from the victim.
Official description
SQL injection vulnerability in includes/picture.class.php in Galette 0.63, 0.63.1, 0.63.2, 0.63.3, and 0.64rc1 allows remote attackers to execute arbitrary SQL commands via the id_adh parameter to picture.php.
Weakness: CWE-89
Which versions are affected by CVE-2012-2338?
It affects 1 product.
Products include Johan Cwiklinski Galette.
How do I fix CVE-2012-2338?
No fix has been published for CVE-2012-2338 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-2338 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2338 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-h936-65jc-4jcg.