CVE-2018-19274 phpBB Remote Code Execution

High 7.2 Published Updated

An attacker with founder admin access can achieve remote code execution via Phar deserialization in phpBB.

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

What is CVE-2018-19274?

CVE-2018-19274 is a high-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 17 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Passing an absolute path to a file_exists check in phpBB before 3.2.4 allows Remote Code Execution through Object Injection by employing Phar deserialization when an attacker has access to the Admin Control Panel with founder permissions.

Weakness: CWE-502, CWE-1321

Which versions are affected by CVE-2018-19274?

2 open source packages ship an affected version, including phpbb/phpbb. It affects 2 products.

PackageAffectedFixed in
phpbb/phpbb PackagistAll versions3.2.4
phpbb/phpbb PackagistAll versions3.2.4

Products include Debian Debian Linux, Phpbb Phpbb.

How do I fix CVE-2018-19274?

Upgrade phpbb/phpbb to 3.2.4 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2018-19274 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DLA-1593-1, GHSA-h3mr-q96r-37v4, UBUNTU-CVE-2018-19274.

Is CVE-2018-19274 in your software?

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

Check your SBOMs for free