CVE-2023-30145 Server-Side Template Injection in Camaleon CMS

Critical 9.8 Published Updated

Attackers can execute arbitrary code via Server-Side Template Injection in Camaleon CMS, requiring immediate upgrade.

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

What is CVE-2023-30145?

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

Official description

Camaleon CMS v2.7.0 was discovered to contain a Server-Side Template Injection (SSTI) vulnerability via the formats parameter.

Weakness: CWE-94

Which versions are affected by CVE-2023-30145?

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

PackageAffectedFixed in
camaleon_cms RubyGemsAll versions2.7.4
camaleon_cms RubyGemsAll versions2.7.4

Products include Tuzitio Camaleon Cms.

How do I fix CVE-2023-30145?

Upgrade camaleon_cms to 2.7.4 or later.

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

Is CVE-2023-30145 being exploited?

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

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

Sources

Also known as GHSA-x487-866m-p8hr.

Is CVE-2023-30145 in your software?

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

Check your SBOMs for free