CVE-2016-5727 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary PHP code in Simple Machines Forum via PHP object injection in LogInOut.php.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2016-5727?

CVE-2016-5727 is a high-severity code injection vulnerability in n/a, published on 9 Feb 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

LogInOut.php in Simple Machines Forum (SMF) 2.1 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via vectors related to variables derived from user input in a foreach loop.

Weakness: CWE-94

Which versions are affected by CVE-2016-5727?

It affects 1 product.

Products include Simplemachines Simple Machines Forum.

How do I fix CVE-2016-5727?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2016-5727 being exploited?

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

Sources

Also known as GHSA-985f-qc8v-q2p6.

Is CVE-2016-5727 in your software?

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

Check your SBOMs for free