Arbitrary file upload in Elabftw

CVE-2019-12185

eLabFTW 1.8.5 is vulnerable to arbitrary file uploads via the /app/controllers/EntityController.php component. This may result in remote command execution. An attacker can use a user account to fully compromise the system using a POST request. This will allow for PHP files to be written to the web root, and for code to execute on the remote server.

Vulnerability class: Unrestricted File Upload

EPSS: 0.181 (96.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Elabftw — versions 1.8.5
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (URL Repurposed, Exploit, x_refsource_MISC, Vendor Advisory)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2019-12185?
CVE-2019-12185 is a high-severity vulnerability in Elabftw, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2019-05-20.
How severe is CVE-2019-12185?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2019-12185 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.