CVE-2020-13240
PHP vulnerability analysis and mitigation

Overview

The DMS/ECM module in Dolibarr 11.0.4 allows users with the 'Setup documents directories' permission to rename uploaded files to have insecure file extensions. This vulnerability (CVE-2020-13240) was disclosed on May 20, 2020, and affects the document management functionality of Dolibarr ERP/CRM software (NVD).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. The issue allows authenticated users with specific permissions to bypass the .noexe protection mechanism that is designed to prevent XSS attacks (NVD).

Impact

The vulnerability allows authenticated users with 'Setup documents directories' permission to bypass security controls by renaming uploaded files to have insecure extensions. This could lead to cross-site scripting (XSS) attacks by circumventing the built-in .noexe protection mechanism (NVD).

Exploitability

The vulnerability requires an authenticated user with specific permissions ('Setup documents directories') to exploit. The attack complexity is considered low as it involves manipulating file extensions during the upload process (NVD).

Mitigation and workarounds

Users should upgrade to a version newer than Dolibarr 11.0.4 that contains fixes for this vulnerability. Additionally, organizations should review and restrict the 'Setup documents directories' permission to only trusted users (NVD).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77143HIGH8.8
  • PHP logoPHP
  • composer://jweiland/pforum
NoYesAug 25, 2026
CVE-2026-77142HIGH8.8
  • PHP logoPHP
  • composer://jweiland/yellowpages2
NoYesAug 25, 2026
CVE-2026-77146HIGH8.3
  • PHP logoPHP
  • composer://in2code/femanager
NoYesAug 25, 2026
CVE-2026-77145HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026
CVE-2026-77144HIGH7.1
  • PHP logoPHP
  • composer://jweiland/events2
NoYesAug 25, 2026

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