CVE-2023-29689 PyroCMS remote code execution vulnerability

Critical 9.8 Published Updated

Attackers can execute arbitrary code on PyroCMS servers via server-side template injection, requiring immediate patching.

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-2023-29689?

CVE-2023-29689 is a critical code injection vulnerability in n/a, published on 4 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

PyroCMS 3.9 contains a remote code execution (RCE) vulnerability that can be exploited through a server-side template injection (SSTI) flaw. This vulnerability allows a malicious attacker to send customized commands to the server and execute arbitrary code on the affected system.

Which versions are affected by CVE-2023-29689?

2 open source packages ship an affected version, including pyrocms/pyrocms. It affects 1 product.

PackageAffectedFixed in
pyrocms/pyrocms PackagistAll versions to 3.9None
pyrocms/pyrocms PackagistAll versions to 3.9None

Products include Pyrocms Pyrocms.

How do I fix CVE-2023-29689?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-29689 exists.

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

Sources

Also known as GHSA-w7vm-4v3j-vgpw.

Is CVE-2023-29689 in your software?

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

Check your SBOMs for free