SecurityContext

CVE-2019-11231: GetSimple CMS - Unrestricted File Upload

  • Cve: CVE-2019-11231
  • Name: GetSimple CMS - Unrestricted File Upload
  • Description: An issue was discovered in GetSimple CMS through 3.3.15. insufficient input sanitation in the theme-edit.php file allows upload of files with arbitrary content (PHP code, for example). This vulnerability is triggered by an authenticated user; however, authentication can be bypassed. According to the official documentation for installation step 10, an admin is required to upload all the files, including the .htaccess files, and run a health check. However, what is overlooked is that the Apache HTTP Server by default no longer enables the AllowOverride directive, leading to data/users/admin.xml password exposure. The passwords are hashed but this can be bypassed by starting with the data/other/authorization.xml API key. This allows one to target the session state, since they decided to roll their own implementation. The cookie_name is crafted information that can be leaked from the frontend (site name and version). If a someone leaks the API key and the admin username, then they can bypass authentication. To do so, they need to supply a cookie based on an SHA-1 computation of this known information. The vulnerability exists in the admin/theme-edit.php file. This file checks for forms submissions via POST requests, and for the csrf nonce. If the nonce sent is correct, then the file provided by the user is uploaded. There is a path traversal allowing write access outside the jailed themes directory root. Exploiting the traversal is not necessary because the .htaccess file is ignored. A contributing factor is that there isn't another check on the extension before saving the file, with the assumption that the parameter content is safe. This allows the creation of web accessible and executable files with arbitrary content.
  • Impact: Attackers can upload and execute arbitrary PHP files, leading to remote code execution and full server compromise.
  • Remediation: Apply input validation, restrict file extensions, and implement proper access controls. Update to the latest version if available.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs to bypass authentication and craft specific cookies to upload files via theme-edit.php
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.70636
  • Epss percentile: 0.99405
  • Assignee: [email protected]
  • Published at: 2019-05-22T18:29:00Z
  • Age in days: 2743
  • Modified at: 2026-06-17T02:12:35Z
  • Public exploits total: 4
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-11231
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/152961/GetSimpleCMS-3.3.15-Remote-Code-Execution.htmlnvd2019-05-22
https://ssd-disclosure.com/?p=3899&preview=truenvd2019-05-22
https://github.com/akincibor/CVE-2019-11231-PoCpoc-in-github2025-12-20
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/getsimplecms_unauth_code_exec.rbmetasploit2019-04-28

References

UrlSourceTags
http://packetstormsecurity.com/files/152961/GetSimpleCMS-3.3.15-Remote-Code-Execution.htmlnvdExploit, Third Party Advisory, VDB Entry
https://ssd-disclosure.com/?p=3899&preview=truenvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
get-simple:getsimple_cms<= 3.3.15nonvd/v1/products/get-simple/getsimple_cms

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 4
  • Public exploit first date: 2019-04-28
  • Remote: yes
  • Exposed hosts: 32
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports