CVE-2019-18662 SQL injection in n/a
Attackers can read sensitive database data via SQL injection in the Live Chat plugin, requiring the plugin to be enabled.
- 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-2019-18662?
CVE-2019-18662 is a critical SQL injection vulnerability in n/a, published on 2 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in YouPHPTube through 7.7. User input passed through the live_stream_code POST parameter to /plugin/LiveChat/getChat.json.php is not properly sanitized (in getFromChat in plugin/LiveChat/Objects/LiveChatObj.php) before being used to construct a SQL query. This can be exploited by malicious users to, e.g., read sensitive data from the database through in-band SQL Injection attacks. Successful exploitation of this vulnerability requires the Live Chat plugin to be enabled.
Weakness: CWE-89
Which versions are affected by CVE-2019-18662?
It affects 1 product.
Products include Youphptube Youphptube.
How do I fix CVE-2019-18662?
No fix has been published for CVE-2019-18662 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-2019-18662 being exploited?
There is no known exploitation of CVE-2019-18662 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xxmj-xf3c-rjq4.