CVE-2018-19246 LFI in PHP-Proxy 5.1.0

High 7.5 Published Updated

Remote attackers can read local files by exploiting hardcoded credentials in the default configuration of PHP-Proxy.

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-19246?

CVE-2018-19246 is a high-severity path traversal vulnerability in n/a, published on 13 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PHP-Proxy 5.1.0 allows remote attackers to read local files if the default "pre-installed version" (intended for users who lack shell access to their web server) is used. This occurs because the aeb067ca0aa9a3193dce3a7264c90187 app_key value from the default config.php is in place, and this value can be easily used to calculate the authorization data needed for local file inclusion.

Weakness: CWE-200

Which versions are affected by CVE-2018-19246?

2 open source packages ship an affected version, including athlon1600/php-proxy. It affects 1 product.

PackageAffectedFixed in
athlon1600/php-proxy PackagistAll versions to 5.1.0None
athlon1600/php-proxy PackagistAll versions to 5.1.0None

Products include Php-Proxy Php-Proxy.

How do I fix CVE-2018-19246?

No fix has been published for CVE-2018-19246 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-19246 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-pc5h-m95g-v6rh.

Is CVE-2018-19246 in your software?

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

Check your SBOMs for free