Vulnerability DatabaseGHSA-49xw-hw94-fmv2

GHSA-49xw-hw94-fmv2
PHP vulnerability analysis and mitigation

Overview

A Remote Code Execution vulnerability was discovered in Dolibarr (GHSA-49xw-hw94-fmv2) affecting versions up to 21.0.2. The vulnerability was published on July 19, 2025, and involves the menu permission functionality in the Dolibarr backend that could allow arbitrary PHP code execution (GitHub Advisory).

Technical details

The vulnerability exists in the menu permission functionality where the submitted permission can be PHP code that gets executed when viewing the created menu. The issue stems from an incomplete blacklist of dangerous PHP functions in the doleval() method, allowing functions like includeonce and require_once to bypass security checks. This vulnerability is tracked as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program) and has a CVSS score of 8.8 (High) (GitHub Advisory).

Impact

The vulnerability allows attackers to execute arbitrary commands in the file system and read sensitive files. When successfully exploited, it can lead to complete system compromise through arbitrary code execution, especially when combined with file upload capabilities (GitHub Advisory).

Mitigation and workarounds

Currently, there are no patched versions available for this vulnerability. Users are advised to monitor for updates and apply security patches when they become available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management