47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
id: CVE-2023-1496
|
|
|
|
info:
|
|
name: Imgproxy < 3.14.0 - Cross-site Scripting (XSS)
|
|
author: pdteam
|
|
severity: medium
|
|
description: Cross-site Scripting (XSS) - Reflected in GitHub repository imgproxy/imgproxy prior to 3.14.0.
|
|
impact: |
|
|
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
|
|
remediation: |
|
|
Upgrade to Imgproxy version 3.14.0 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://github.com/imgproxy/imgproxy/commit/62f8d08a93d301285dcd1dabcc7ba10c6c65b689
|
|
- https://huntr.dev/bounties/de603972-935a-401a-96fb-17ddadd282b2
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 5.4
|
|
cve-id: CVE-2023-1496
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00077
|
|
epss-percentile: 0.31886
|
|
cpe: cpe:2.3:a:evilmartians:imgproxy:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: evilmartians
|
|
product: imgproxy
|
|
shodan-query: "Server: imgproxy"
|
|
tags: huntr,cve,cve2023,imgproxy,xss,svg,evilmartians
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/unsafe/plain/https://cve-2023-1496.s3.amazonaws.com/imgproxy_xss.svg"
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- contains(body, 'PC9zdmc+#test')
|
|
- status_code == 200
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- content_security_policy
|
|
# digest: 490a00463044022049797c08ec59dad0fbf1ee706c2ff001aa78a9eb33cec03f9f5d134e52495c59022064aa258656ec0f0f76b181c01177fab745cd1b788f5521eb815323e3c9131a0b:922c64590222798bb761d5b6d8e72950 |