CVE-2019-5122 SQL injection in YouPHPTube
Authenticated attackers can execute SQL injection via crafted requests to pluginSwitch.json.php in YouPHPTube, potentially accessing or modifying database content.
- 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-2019-5122?
CVE-2019-5122 is a high-severity SQL injection vulnerability in YouPHPTube, published on 25 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL injection vulnerabilities exists in the authenticated part of YouPHPTube 7.6. Specially crafted web requests can cause SQL injections. An attacker can send a web request with Parameter name in /objects/pluginSwitch.json.php.
Weakness: CWE-89
Which versions are affected by CVE-2019-5122?
It affects 1 product.
Products include Youphptube Youphptube.
How do I fix CVE-2019-5122?
No fix has been published for CVE-2019-5122 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-5122 being exploited?
There is no known exploitation of CVE-2019-5122 in the wild and no public exploit code.
Other vulnerabilities in YouPHPTube
Sources
Also known as GHSA-wr8x-8mw2-c99h.