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.02392
    epss-percentile: 0.81806
  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: 4a0a0047304502200f777db90261075f0d971f86736ee2caa314112e839c0b04b8f6274bb1255b56022100afcbb4edcfe6903894a36e058995015188d0f83e98fe590e844812710d4f4c66:922c64590222798bb761d5b6d8e72950