HexBrain

Browse / CVEs / CVE-2024-51739

CVE-2024-51739· combodo / itop· CWE-200

iTop - User Enumeration via REST Endpoint

mediumseverity
5.3CVSS score
1.2%likelihood of exploitation, next 30 days
69%of all CVEs are less likely
Readycheck to confirm it

From the webservices/rest.php file, several operations are accessible from an unauthenticated user. One of them is `do_reset_pwd`, allowing to reset a user password. This feature can be abused to perform user enumeration when a non-existent user is provided.

Impact

Attackers can exploit this vulnerability to compromise system security.

Fix

Apply security patches to address CVE-2024-51739.

How to confirm it

Send: GET {{BaseURL}}/webservices/rest.php?loginop=do_reset_pwd&auth_user=doesnotexist
Positive when: contains "<h1>Reset password</h1>" and "&#039;doesnotexist&#039; is not a valid login"

Run it with nuclei: nuclei -id CVE-2024-51739 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2024-51739

info:
  name: iTop - User Enumeration via REST Endpoint
  author: DhiyaneshDk
  severity: medium
  description: |
    From the webservices/rest.php file, several operations are accessible from an unauthenticated user. One of them is `do_reset_pwd`, allowing to reset a user password. This feature can be abused to perform user enumeration when a non-existent user is provided.
  impact: |
    Attackers can exploit this vulnerability to compromise system security.
  remediation: |
    Apply security patches to address CVE-2024-51739.
  reference:
    - https://www.synacktiv.com/en/advisories/multiple-vulnerabilities-on-itop
    - https://github.com/Combodo/iTop/security/advisories/GHSA-2hmf-p27w-phf9
    - https://nvd.nist.gov/vuln/detail/CVE-2024-51739
  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-51739
    cwe-id: CWE-200
    epss-score: 0.01232
    epss-percentile: 0.69225
    cpe: cpe:2.3:a:combodo:itop:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: combodo
    product: itop
    shodan-query: http.html:" itop login"
    fofa-query: body=" itop login"
  tags: cve,cve2024,itop,enum,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/webservices/rest.php?loginop=do_reset_pwd&auth_user=doesnotexist"

    matchers:
      - type: word
        part: body
        words:
          - "<h1>Reset password</h1>"
          - "&#039;doesnotexist&#039; is not a valid login"
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from