CVE-2018-9247 SQL injection in n/a
Remote attackers can execute arbitrary SQL and PHP code via the sql parameter in Gxlcms QY, leading to full system compromise.
- 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-2018-9247?
CVE-2018-9247 is a critical SQL injection vulnerability in n/a, published on 4 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The upsql function in \Lib\Lib\Action\Admin\DataAction.class.php in Gxlcms QY v1.0.0713 allows remote attackers to execute arbitrary SQL statements via the sql parameter. Consequently, an attacker can execute arbitrary PHP code by placing it after a <?php substring, and then using INTO OUTFILE with a .php filename.
Weakness: CWE-89
Which versions are affected by CVE-2018-9247?
It affects 1 product.
Products include Gxlcms Gxlcms Qy.
How do I fix CVE-2018-9247?
No fix has been published for CVE-2018-9247 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-2018-9247 being exploited?
There is no known exploitation of CVE-2018-9247 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6www-8c8h-xx3m.