CVE-2018-18258 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary PHP code and read files on the web server via a vulnerable template update URI in BageCMS.

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

CVE-2018-18258 is a critical code injection vulnerability in n/a, published on 11 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in BageCMS 3.1.3. The attacker can execute arbitrary PHP code on the web server and can read any file on the web server via an index.php?r=admini/template/updateTpl&filename= URI.

Weakness: CWE-94

Which versions are affected by CVE-2018-18258?

It affects 1 product.

Products include Bagesoft Bagecms.

How do I fix CVE-2018-18258?

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

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

Sources

Also known as GHSA-wqcf-q92w-mcgr.

Is CVE-2018-18258 in your software?

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

Check your SBOMs for free