Vulnerability Description
In Kostal PIKO 1.5-1 MP plus HMI OEM p 1.0.1, the web application for the Solar Panel is vulnerable to a Stored Cross-Site Scripting (XSS) attack on /file.bootloader.upload.html. The application fails to sanitize the parameter filename, in a POST request to /file.bootloader.upload.html for a system update, thus allowing one to inject HTML and/or JavaScript on the page that will then be processed and stored by the application. Any subsequent requests to pages that retrieve the malicious content will automatically exploit the vulnerability on the victim's browser. This also happens because the tag is loaded in the function innerHTML in the page HTML.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://medium.com/%40daviddepaulasantos/how-we-got-a-cve-for-a-dom-based-stored
- https://medium.com/%40daviddepaulasantos/how-we-got-a-cve-for-a-dom-based-stored
FAQ
What is CVE-2022-42974?
CVE-2022-42974 is a vulnerability with a CVSS score of 4.8 (MEDIUM). In Kostal PIKO 1.5-1 MP plus HMI OEM p 1.0.1, the web application for the Solar Panel is vulnerable to a Stored Cross-Site Scripting (XSS) attack on /file.bootloader.upload.html. The application fails...
How severe is CVE-2022-42974?
CVE-2022-42974 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-42974?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.