CVE-2019-5123 SQL injection in YouPHPTube

High 7.4 Published Updated

An attacker can execute SQL commands via the dir parameter in YouPHPTube, potentially accessing 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-2019-5123?

CVE-2019-5123 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

Specially crafted web requests can cause SQL injections in YouPHPTube 7.6. An attacker can send a web request with Parameter dir in /objects/pluginSwitch.json.php.

Weakness: CWE-89

Which versions are affected by CVE-2019-5123?

It affects 1 product.

Products include Youphptube Youphptube.

How do I fix CVE-2019-5123?

No fix has been published for CVE-2019-5123 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-5123 being exploited?

There is no known exploitation of CVE-2019-5123 in the wild and no public exploit code.

Sources

Also known as GHSA-8pj5-hw75-8rrf.

Is CVE-2019-5123 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free