CVE-2018-8947 Plaintext Storage of Sensitive Information in Laravel Log Viewer before v0.13.0

High 7.5 Published Updated

Remote attackers can bypass access restrictions and read arbitrary files by exploiting weak Base64 encoding in log viewer requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-8947?

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

Official description

rap2hpoutre Laravel Log Viewer before v0.13.0 relies on Base64 encoding for l, dl, and del requests, which makes it easier for remote attackers to bypass intended access restrictions, as demonstrated by reading arbitrary files via a dl request.

Weakness: CWE-312

Which versions are affected by CVE-2018-8947?

2 open source packages ship an affected version, including rap2hpoutre/laravel-log-viewer. It affects 1 product.

PackageAffectedFixed in
rap2hpoutre/laravel-log-viewer PackagistAll versions0.13.0
rap2hpoutre/laravel-log-viewer PackagistAll versions0.13.0

Products include Laravel Log Viewer Project Laravel Log Viewer.

How do I fix CVE-2018-8947?

Upgrade rap2hpoutre/laravel-log-viewer to 0.13.0 or later.

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

Is CVE-2018-8947 being exploited?

There is no known exploitation of CVE-2018-8947 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-63qj-p8gh-5xxx.

Is CVE-2018-8947 in your software?

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

Check your SBOMs for free