ID

VAR-201510-0107


CVE

CVE-2015-7900


TITLE

Infinite Automation Mango Automation Vulnerability in obtaining important debug information

Trust: 0.8

sources: JVNDB: JVNDB-2015-005639

DESCRIPTION

Infinite Automation Mango Automation 2.5.x and 2.6.x before 2.6.0 build 430 allows remote attackers to obtain sensitive debugging information by entering a crafted URL to trigger an exception, and then visiting a certain status page. Infinite Automation Mango Automation is an open source web-based SCADA (data acquisition and monitoring control), HMI and automation software from Infinite Automation Systems, USA. An arbitrary-file-upload vulnerability 2. Multiple information-disclosure vulnerabilities 3. A command-execution vulnerability 4. An SQL-injection vulnerability 5. A cross-site request forgery vulnerability 6. A cross-site scripting vulnerability Attackers may leverage these issues to steal cookie-based authentication credentials, execute arbitrary script code in the browser, perform unauthorized actions, gain unauthorized access, obtain sensitive information, compromise the application, access or modify data and to execute arbitrary commands in the context of the vulnerable application; other attacks are also possible. It is easy, affordable, and open source.The application is prone to a reflected cross-sitescripting vulnerability due to a failure to properlysanitize user-supplied input to the 'username' POSTparameter in the 'login.htm' script. 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. An attacker can entice a logged-in user to visit a specially crafted URL which will produce a system exception with stack trace on the Jetty server. When this error occurs, the debug option generates a status page with all the information from the visitor, meaning that the attacker is able to see usernames, password hashes, e-mails and of course, Cookie sessions). Using the generated error, the attacker can easily perform session hijacking and take over the system using previously discovered vulnerabilities by just visiting the status page non-authenticated. 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-5260 Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5260.php 20.08.2015 -- One scenario is where the attacker visits the following URL and takes over the admin session (given that the administrator didn't manually disabled the debugging and has produced some exception in current session): - http://localhost:8080/status/ Other scenario is where the attacker sends a link to the victim so the victim after clicking on the link, generates exception and writes all his session attributes in the status page: - http://localhost/status/mango.json?time=$ - http://localhost/status/ Sample status output: \"$\"\r\n\r\n\r\nSESSION ATTRIBUTES\r\n sessionUser=User [id=6, username=n00b, password=NWoZK3kTsExUV00Ywo1G5jlUKKs=, email=z@s.l, phone=123321, admin=true, disabled=false, dataSourcePermissions=[], dataPointPermissions=[], homeUrl=, lastLogin=1440142956496, receiveAlarmEmails=0, receiveOwnAuditEvents=false, timezone=]\r\n LONG_POLL_DATA_TIMEOUT=1440143583487\r\n LONG_POLL_DATA=[com.serotonin.m2m2.web.dwr.longPoll.LongPollData@839308, com.serotonin.m2m2.web.dwr.longPoll.LongPollData@1b4dafa]\r\n\r\n\r\nCONTEXT ATTRIBUTES\r\n DwrContainer=org.directwebremoting.impl.DefaultContainer@138158\r\n constants.EventType.EventTypeNames.AUDIT=AUDIT\r\n constants.SystemEventType.TYPE_USER_LOGIN=USER_LOGIN\r\n constants.Permissions.DataPointAccessTypes.READ=1\r\n org.directwebremoting.ContainerList=[org.directwebremoting.impl.DefaultContainer@138158]\r\n constants.DataTypes.BINARY=1\r\n constants.UserComment.TYPE_EVENT=1\r\n constants.SystemEventType.TYPE_SYSTEM_STARTUP=SYSTEM_STARTUP\r\n javax.servlet.ServletConfig=org.eclipse.jetty.servlet.ServletHolder$Config@bc620e\r\n Also you can list all of the Classes known to DWR: - http://localhost:8080/dwr/index.html

Trust: 3.15

sources: NVD: CVE-2015-7900 // JVNDB: JVNDB-2015-005639 // CNVD: CNVD-2015-07169 // BID: 77331 // IVD: 6d49318e-2351-11e6-abef-000c29c66e3d // ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257 // PACKETSTORM: 133733

IOT TAXONOMY

category:['ICS']sub_category: -

Trust: 0.8

sources: IVD: 6d49318e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2015-07169

AFFECTED PRODUCTS

vendor:infinite automationmodel:mango automationscope:eqversion:2.5.5

Trust: 2.2

vendor:infinite automationmodel:mango automationscope:eqversion:2.6.0

Trust: 2.2

vendor:infinite automationmodel:mango automationscope:eqversion:2.5.0

Trust: 1.6

vendor:infinite automationmodel:mango automationscope:eqversion:2.5.x

Trust: 0.8

vendor:infinite automationmodel:mango automationscope:ltversion:2.6.x

Trust: 0.8

vendor:infinite automationmodel:mango automationscope:eqversion:2.6.0 build 430

Trust: 0.8

vendor:infinite automationmodel:mango automationscope:eqversion:2.5.2 and 2.6.0 beta (build 327)

Trust: 0.5

vendor:infinitemodel:automation systems mango automationscope:eqversion:2.6.0

Trust: 0.3

vendor:infinitemodel:automation systems mango automationscope:eqversion:2.5.0

Trust: 0.3

vendor:infinitemodel:automation systems mango automation buildscope:neversion:2.6.0430

Trust: 0.3

vendor:mango automationmodel: - scope:eqversion:2.5.0

Trust: 0.2

vendor:mango automationmodel: - scope:eqversion:2.5.5

Trust: 0.2

vendor:mango automationmodel: - scope:eqversion:2.6.0

Trust: 0.2

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257 // IVD: 6d49318e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2015-07169 // BID: 77331 // JVNDB: JVNDB-2015-005639 // CNNVD: CNNVD-201510-680 // NVD: CVE-2015-7900

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2015-7900
value: MEDIUM

Trust: 1.0

NVD: CVE-2015-7900
value: MEDIUM

Trust: 0.8

CNVD: CNVD-2015-07169
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-201510-680
value: MEDIUM

Trust: 0.6

IVD: 6d49318e-2351-11e6-abef-000c29c66e3d
value: MEDIUM

Trust: 0.2

ZSL: ZSL-2015-5261
value: (4/5)

Trust: 0.1

ZSL: ZSL-2015-5260
value: (3/5)

Trust: 0.1

ZSL: ZSL-2015-5259
value: (4/5)

Trust: 0.1

ZSL: ZSL-2015-5258
value: (3/5)

Trust: 0.1

ZSL: ZSL-2015-5257
value: (3/5)

Trust: 0.1

nvd@nist.gov: CVE-2015-7900
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2015-07169
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

IVD: 6d49318e-2351-11e6-abef-000c29c66e3d
severity: MEDIUM
baseScore: 4.3
vectorString: AV:N/AC:M/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 8.6
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.9 [IVD]

Trust: 0.2

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257 // IVD: 6d49318e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2015-07169 // JVNDB: JVNDB-2015-005639 // CNNVD: CNNVD-201510-680 // NVD: CVE-2015-7900

PROBLEMTYPE DATA

problemtype:CWE-200

Trust: 1.8

sources: JVNDB: JVNDB-2015-005639 // NVD: CVE-2015-7900

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201510-680

TYPE

information disclosure

Trust: 0.6

sources: CNNVD: CNNVD-201510-680

CONFIGURATIONS

sources: JVNDB: JVNDB-2015-005639

EXPLOIT AVAILABILITY

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257

PATCH

title:Mango Automation Core with All Features Downloadurl:http://infiniteautomation.com/index.php/download

Trust: 0.8

title:Top Pageurl:http://infiniteautomation.com/index.php/

Trust: 0.8

title:Infinite Automation Systems Mango Automation Repair measures for information disclosure vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=58484

Trust: 0.6

sources: JVNDB: JVNDB-2015-005639 // CNNVD: CNNVD-201510-680

EXTERNAL IDS

db:NVDid:CVE-2015-7900

Trust: 3.6

db:ICS CERTid:ICSA-15-300-02

Trust: 3.4

db:CNVDid:CNVD-2015-07169

Trust: 0.8

db:CNNVDid:CNNVD-201510-680

Trust: 0.8

db:JVNDBid:JVNDB-2015-005639

Trust: 0.8

db:EXPLOIT-DBid:38338

Trust: 0.5

db:ICS CERTid:ICSA-15-300-02A

Trust: 0.5

db:BIDid:77331

Trust: 0.4

db:AUSCERTid:ESB-2015.2713

Trust: 0.2

db:PACKETSTORMid:133733

Trust: 0.2

db:ZSLid:ZSL-2015-5260

Trust: 0.2

db:IVDid:6D49318E-2351-11E6-ABEF-000C29C66E3D

Trust: 0.2

db:NVDid:CVE-2015-7901

Trust: 0.1

db:PACKETSTORMid:133734

Trust: 0.1

db:JVNDBid:JVNDB-2015-005640

Trust: 0.1

db:ZSLid:ZSL-2015-5261

Trust: 0.1

db:NSFOCUSid:31398

Trust: 0.1

db:VULDBid:78931

Trust: 0.1

db:JVNDBid:JVNDB-2015-005642

Trust: 0.1

db:NVDid:CVE-2015-7903

Trust: 0.1

db:PACKETSTORMid:133732

Trust: 0.1

db:ZSLid:ZSL-2015-5259

Trust: 0.1

db:PACKETSTORMid:133731

Trust: 0.1

db:NVDid:CVE-2015-6493

Trust: 0.1

db:NSFOCUSid:31400

Trust: 0.1

db:ZSLid:ZSL-2015-5258

Trust: 0.1

db:CXSECURITYid:WLB-2015090186

Trust: 0.1

db:NVDid:CVE-2015-6494

Trust: 0.1

db:NSFOCUSid:31399

Trust: 0.1

db:PACKETSTORMid:133727

Trust: 0.1

db:ZSLid:ZSL-2015-5257

Trust: 0.1

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257 // IVD: 6d49318e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2015-07169 // BID: 77331 // JVNDB: JVNDB-2015-005639 // PACKETSTORM: 133733 // CNNVD: CNNVD-201510-680 // NVD: CVE-2015-7900

REFERENCES

url:https://ics-cert.us-cert.gov/advisories/icsa-15-300-02

Trust: 3.4

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-7900

Trust: 0.9

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2015-7900

Trust: 0.9

url:https://www.exploit-db.com/exploits/38338/

Trust: 0.5

url:http://infiniteautomation.com/forum/topic/1995/mango-security-testing

Trust: 0.5

url:http://infiniteautomation.com/index.php/what-s-new/entry/what-s-new-in-mango-automation-2-6-0-released-october-20th-2016

Trust: 0.5

url:http://infiniteautomation.com/forum/topic/1997/mango-automation-2-6-released

Trust: 0.5

url:https://ics-cert.us-cert.gov/advisories/icsa-15-300-02a

Trust: 0.5

url:http://infiniteautomation.com/

Trust: 0.3

url:https://www.auscert.org.au/render.html?it=27342

Trust: 0.2

url:https://packetstormsecurity.com/files/133734

Trust: 0.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/106864

Trust: 0.1

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-7901

Trust: 0.1

url:https://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2015-7901

Trust: 0.1

url:http://jvndb.jvn.jp/ja/contents/2015/jvndb-2015-005640.html

Trust: 0.1

url:http://www.securityweek.com/infinite-automation-patches-flaws-scadahmi-product

Trust: 0.1

url:http://www.securityfocus.com/bid/77331

Trust: 0.1

url:https://packetstormsecurity.com/files/133733

Trust: 0.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/106939

Trust: 0.1

url:http://www.nsfocus.net/vulndb/31398

Trust: 0.1

url:http://www.scip.ch/en/?vuldb.78931

Trust: 0.1

url:https://packetstormsecurity.com/files/133732

Trust: 0.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/106862

Trust: 0.1

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-7903

Trust: 0.1

url:https://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2015-7903

Trust: 0.1

url:http://www.cvedetails.com/vendor/15200/infinite-automation-systems.html

Trust: 0.1

url:http://jvndb.jvn.jp/ja/contents/2015/jvndb-2015-005642.html

Trust: 0.1

url:https://packetstormsecurity.com/files/133731

Trust: 0.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/106858

Trust: 0.1

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-6493

Trust: 0.1

url:https://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2015-6493

Trust: 0.1

url:http://www.nsfocus.net/vulndb/31400

Trust: 0.1

url:http://chemical-facility-security-news.blogspot.com/2015/10/ics-cert-publishes-three-advisories.html

Trust: 0.1

url:https://packetstormsecurity.com/files/133727

Trust: 0.1

url:https://cxsecurity.com/issue/wlb-2015090186

Trust: 0.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/106786

Trust: 0.1

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-6494

Trust: 0.1

url:https://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2015-6494

Trust: 0.1

url:http://www.nsfocus.net/vulndb/31399

Trust: 0.1

url:http://localhost:8080/dwr/index.html

Trust: 0.1

url:http://localhost:8080/status/

Trust: 0.1

url:http://www.zeroscience.mk/en/vulnerabilities/zsl-2015-5260.php

Trust: 0.1

url:http://localhost/status/

Trust: 0.1

url:http://localhost/status/mango.json?time=$

Trust: 0.1

url:http://www.infiniteautomation.com/

Trust: 0.1

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257 // CNVD: CNVD-2015-07169 // BID: 77331 // JVNDB: JVNDB-2015-005639 // PACKETSTORM: 133733 // CNNVD: CNNVD-201510-680 // NVD: CVE-2015-7900

CREDITS

Vulnerability discovered by Gjoko Krstic

Trust: 0.5

sources: ZSL: ZSL-2015-5261 // ZSL: ZSL-2015-5260 // ZSL: ZSL-2015-5259 // ZSL: ZSL-2015-5258 // ZSL: ZSL-2015-5257

SOURCES

db:ZSLid:ZSL-2015-5261
db:ZSLid:ZSL-2015-5260
db:ZSLid:ZSL-2015-5259
db:ZSLid:ZSL-2015-5258
db:ZSLid:ZSL-2015-5257
db:IVDid:6d49318e-2351-11e6-abef-000c29c66e3d
db:CNVDid:CNVD-2015-07169
db:BIDid:77331
db:JVNDBid:JVNDB-2015-005639
db:PACKETSTORMid:133733
db:CNNVDid:CNNVD-201510-680
db:NVDid:CVE-2015-7900

LAST UPDATE DATE

2025-04-13T23:09:45.790000+00:00


SOURCES UPDATE DATE

db:ZSLid:ZSL-2015-5261date:2016-01-04T00:00:00
db:ZSLid:ZSL-2015-5260date:2015-10-29T00:00:00
db:ZSLid:ZSL-2015-5259date:2015-10-29T00:00:00
db:ZSLid:ZSL-2015-5258date:2015-10-29T00:00:00
db:ZSLid:ZSL-2015-5257date:2015-10-29T00:00:00
db:CNVDid:CNVD-2015-07169date:2015-11-04T00:00:00
db:BIDid:77331date:2015-10-27T00:00:00
db:JVNDBid:JVNDB-2015-005639date:2015-10-29T00:00:00
db:CNNVDid:CNNVD-201510-680date:2015-10-29T00:00:00
db:NVDid:CVE-2015-7900date:2025-04-12T10:46:40.837

SOURCES RELEASE DATE

db:ZSLid:ZSL-2015-5261date:2015-09-26T00:00:00
db:ZSLid:ZSL-2015-5260date:2015-09-26T00:00:00
db:ZSLid:ZSL-2015-5259date:2015-09-26T00:00:00
db:ZSLid:ZSL-2015-5258date:2015-09-26T00:00:00
db:ZSLid:ZSL-2015-5257date:2015-09-26T00:00:00
db:IVDid:6d49318e-2351-11e6-abef-000c29c66e3ddate:2015-11-02T00:00:00
db:CNVDid:CNVD-2015-07169date:2015-11-03T00:00:00
db:BIDid:77331date:2015-10-27T00:00:00
db:JVNDBid:JVNDB-2015-005639date:2015-10-29T00:00:00
db:PACKETSTORMid:133733date:2015-09-28T20:10:19
db:CNNVDid:CNNVD-201510-680date:2015-10-29T00:00:00
db:NVDid:CVE-2015-7900date:2015-10-28T10:59:20.610