نسخههای متأثر
npmuptime-kuma
- نسخههای متأثر
- >= 1.20.0, <= 1.23.6
- نسخهٔ اصلاحشده
- 1.23.7
بهرهبرداری
شرح آسیبپذیری
Summary
Google Analytics element Attribute Injection leading to XSS
Details
Since the custom status interface can set an independent Google Analytics ID and the template has not been sanitized, there is an attribute injection vulnerability here, which can lead to XSS attacks. image
PoC
Run the latest version of the louislam/uptime-kuma container and initialize the account password.
Create a new status page.
Edit the status page and change the Google Analytics ID to following payload(it only works for firefox. Any attribute can be injected, but this seems the most intuitive):
123123" onafterscriptexecute=alert(window.name+1),eval(window.name) a="x
Click Save and return to the interface. XSS occurs. screenshots: image
9d0603e634fb7da2e83a0a45dc0a36ac
پیوندها
- https://github.com/advisories/GHSA-v4v2-8h88-65qj
- https://github.com/louislam/uptime-kuma
- https://github.com/louislam/uptime-kuma/commit/f28dccf4e11f041564293e4f407e69ab9ee2277f
- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-v4v2-8h88-65qj
- https://nvd.nist.gov/vuln/detail/CVE-2023-49276
گزارشدهندگان
- gtg2619

