Skip to content
RCE Disclosed report CVE-2022-0323

Mustache remote code injection vulnerability

bobthecow/mustache.php

Originally disclosed on huntr

In Mustache.php v2.0.0 through v2.14.0, Sections tag can lead to arbitrary php code execution even if strict_callables is true when section value is controllable.

From the GitHub Advisory Database (GHSA-4rmr-c2jx-vx27, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A high-severity RCE bug in mustache/mustache. huntr made it public on 27 January 2022 as CVE-2022-0323. Fixed in version 2.14.1.

About RCE

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.