Description
Aurelia-path before 1.1.7 contains a prototype pollution caused by parsing malicious URL parameters, letting attackers modify Object.prototype, exploit requires the application to parse user-controlled URLs.
Aurelia-path before 1.1.7 contains a prototype pollution caused by parsing malicious URL parameters, letting attackers modify Object.prototype, exploit requires the application to parse user-controlled URLs.
id: CVE-2021-41097
info:
name: Aurelia-Path < 1.1.7 - Prototype Pollution
author: 0x_Akoko
severity: high
description: |
Aurelia-path before 1.1.7 contains a prototype pollution caused by parsing malicious URL parameters, letting attackers modify Object.prototype, exploit requires the application to parse user-controlled URLs.
impact: |
Update to version 1.1.7 or later.
remediation: |
Aurelia-path parseQueryString function was found vulnerable to prototype pollution via crafted __proto__ URL parameters.
reference:
- https://github.com/aurelia/path/issues/44
- https://security.snyk.io/vuln/SNYK-JS-AURELIAPATH-1579475
- https://nvd.nist.gov/vuln/detail/CVE-2021-41097
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
cvss-score: 7.5
cwe-id: CWE-1321
metadata:
max-request: 1
verified: true
vendor: aurelia
product: path
shodan-query: http.component:"aurelia"
tags: cve,cve2021,aurelia,prototype-pollution,javascript,passive,vuln
http:
- method: GET
path:
- "{{BaseURL}}/blog/?__proto__[polluted]=polluted"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "aurelia-path", "parseQueryString")'
- 'contains_any(body, "1.1.0", "1.1.1", "1.1.2", "1.1.3", "1.1.4", "1.1.5", "1.1.6")'
condition: and
extractors:
- type: regex
group: 1
part: body
regex:
- 'data-version="([0-9.]+)"'
- 'version["\s:]+([0-9.]+)'
# digest: 4a0a00473045022033dc643dd3f7e3165b7c9a3b5e54fa25451751e31897f50557fef01334fd621e022100c22b9e4cf95ba7e083b92b683dfe259dc1ed009267fb47942bff28239ff82005:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.