ID

VAR-201512-0018


CVE

CVE-2015-7925


TITLE

eWON Cross-Site Request Forgery Vulnerability

Trust: 1.2

sources: CNVD: CNVD-2015-08451 // CNNVD: CNNVD-201512-547

DESCRIPTION

Cross-site request forgery (CSRF) vulnerability on eWON devices with firmware through 10.1s0 allows remote attackers to hijack the authentication of administrators for requests that trigger firmware upload, removal of configuration data, or a reboot. eWON is an industrial router product of the Belgian eWON company. An attacker could exploit the vulnerability to perform unauthorized actions with user rights. eWON are prone to the following security vulnerabilities: 1. Weak session management vulnerability 2. Unauthorized Access Vulnerability 4. HTML-injection vulnerability 5. Plain text password information disclosure vulnerability 6. A security weakness An attacker can exploit these issues to bypass the authentication mechanism and gain unauthorized access, execute attacker-supplied HTML or JavaScript code in the context of the affected site, steal cookie-based authentication credentials, obtain sensitive information, and perform certain unauthorized actions. This may aid in further attacks. *eWON sa Industrial router - Multiple Vulnerabilities* eWON connects the machine across the Internet Breaking the barrier between industrial applications and IT standards, the mission of eWON is to connect industrial machines securely to the Internet, enabling easy remote access and gathering all types of technical data originating from industrial machines. Typical applications within the scope of our mission include remote maintenance, predictive maintenance, remote services, asset management, remote metering, multi-site building management, M2M, and more. *AFFECTED PRODUCTS* The following eWON router firmware versions are affected: *All eWON firmware versions prior to 10.1s0* *Reference* https://ics-cert.us-cert.gov/advisories/ICSA-15-342-01 *Vulnerabilities* *WEAK SESSION MANAGEMENT - FIXED by eWON* CVE-2015-7924 Session remains active even after user performs log off. Session is destroyed only after browser is exited. Any & all functions can be executed silently without getting validated from authorized user, if / when this issue is exploited. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *eWON says*Verified but won't fix. The current implementation is done by design (the user must be able to submit forms using GET only). As CSRF attack suggests, the user must be already logged on the eWON using its internet browser and the session must thus be valid on user's browser. However eWON IP must also be known by the attacker knowing that the VPN will set another IP each time the victim connects to eWON. The connection to an eWON device is only possible by a secured VPN, a point- to-point LAN or a secured LAN. On their website, eWON describes this issue as following: http://ewon.biz/support/news/support/ewon-security-enhancement-7529-01 Mitigating factors: Many requirements have to be met for a successful attack: The attacker needs a valid login to the eWON. The attacker needs HTTP access to the eWON (e.g. eWON web server exposed to the public Internet). Also connections to eWON devices should in standard use cases only occur through: - a point-to-point LAN, a secured LAN (sniffing the victim IP is not really achievable in these two cases) - or a secured VPN (VPN allocated IP address is then defined by the VPN server). —> eWON team just doesn't understand how CSRF works. And continue to assume the device mgmt portal is accessible ONLY over the VPN, P2P LAN or secured LAN. They clearly have not looked at Shodan and / or publicly accessible portals. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *WEAK RBAC CONTROLS - FIXED by eWON* CVE-2015-7926 The software allows an unauthenticated user to gather information and status of I/O servers through the use of a forged URL. *NOTE*: It should be - *An unauthorized / low-privileged user can perform several unauthorized actions such as reading, updating, & deleting I/O servers, configurations, enabling/disabling I/O servers, & accessing, deleting valid users.* *Scenario* Two users 1. adm - Default privileged user - can perform all administrative functions - full rights - [ v o a c f e h j ] 2. test - newly created user - no rights - no [ v o a c f e h j ] *Issue 1* *It is possible to enumerate valid I/O servers* I/O Server list is a set defined list: MEM cbIOSrvList=0 EWON cbIOSrvList=1 MODBUS cbIOSrvList=2 NETMPI ... SNMP cbIOSrvList=4 DF1 ... FINS ... so on ... & others An unauthorized / unprivileged user can gather information and status of these IO servers in the following manner: *Logged in as ‘test'* Access - http://<IP>/rcgi.bin/Edit1IOSrvForm?cbIOSrvList=0&Ac2on=edit If Response says -> Not Configurable. -> Implies Not a valid I/O If Response says -> Access Denied -> Implies a valid I/O -> Window Title reveals the I/O server type - example, Modbus IO Server Config, DF1 1O Server Config, n so on *Issue 2* *It is possible to modify parameter values of I/O servers directly*Updating the values when logged in as 'test' Change POST request to GET Modify param values http://<IP>/rcgi.bin/EditUsrIOSrvForm?edCfgData=MinInterval%3A10%0D %0AMaxInterval%3A268435459%0D%0AReverseCount %3A0&B1=Update&AST_IOSrvNdx=1 Response -> IO Server config updated. Similarly, other I/O server configuration can be updated. In case an I/O server is not Enabled, it can be enabled and configured with custom values. *Following poc for SNMP I/O Server settings (This IO server communicates with any SNMP device)* Enabling and configuring SNMP I/O server (logged in as test) http://<IP>/rcgi.bin/EditAdvUsrIOSrvForm? edEnabledA=1&edGlobAddrA=&edPeriodA=&edGlobAddrB=&edPeriodB=&edGlo bAddrC=&edPeriodC=&B1=Update+Config&IOServer=SNMP -> IO Server config updated. *Issue 3* *Deleting All Users* It is possible for a user with no rights to: 1. Enumerate configured users 2. Delete any & all users. HTTP GET request to delete a user (when logged in as 'test') (unauthorized request) http://<IP>/rcgi.bin/EditForm?CB2=3&NbCB=4&Opera2onType=DeleteUser This brings up a confirmation prompt validating if we really want to delete the user. It presents the username and offers two options - Option 1 - Cancel and Confirm/Delete Option 2 - Select Confirm/Delete ..... Users List test Please confirm you want to delete these items Select Confirm/Delete ..... Next, the url redirects to DeleteForm which then shows Access denied twice ..... -> But the user gets deleted anyway. :) Verify by Refreshing User List *Enumerating Users* In order to enumerate valid users, we only need to submit the first DeleteUser request http://<IP>/rcgi.bin/EditForm?CB2=4&NbCB=3&Opera2onType=DeleteUser It will show the username. This process can of course be automated to view all valid application usernames. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *eWON considered WEAK RBAC issue a minor one. Apparently, they didn’t understood the impact at all.* eWON said: It's a minor issue as these informations are already available through eWON User Manual. We will however completely block the page in a future eWON firmware release when user credentials don't meet the requirements to avoid any ambiguity regarding eWON security. —> Regardless, the new firmware says this issue has been fixed.. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *STORED CROSS-SITE SCRIPTING - NOT FIXED by eWON* CVE-2015-7927 *Vulnerable functions / parameters* Create / Edit User User First Name User Last Name User information Create / Edit Tag Tag Description …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. eWON says Verified. Won't fix: We left the possibility to include HTML tags or javascript in form fields and form url parameters to meet some specific final user needs. Note that this kind of injection is achievable through FTP upload as everything is saved in the eWON config files. —> Yeah, it’s a feature and input validation is a useless practice anyway.. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *Reflected XSS - NOT FIXED by eWON* Vulnerable parameter - AST_ErrorMsg http://<IP>/rcgi.bin/wsdForm?sys_Csave=1&AST_ErrorMsg=Success<script>alert("xss-AST_ErrorMsg")</ script>&sys_IpMbsSrvPort=502&sys_IpEipSrvPort=44818&sys_IpIsoSrvPort=102& sys_IpFinsSrvPort=9600&sys_TagPollMode=0&sys_IOTcpDefTO=1000&btUpdate= Update *PASSWORDS NOT SECURED - PARTIAL FIX by eWON* CVE-2015-7928 Passwords are passed in plain text allowing a malicious party to retrieve them from network traffic. The autocomplete setting of some eWON forms also allows these passwords to be retrieved from the browser. Compromise of the credentials would allow unauthenticated access. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. eWON says 2. Won't fix as the final user is supposed to configure eWON through VPN. —> Yeah, *supposed to*.. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. *POST/GET ISSUES - NOT FIXED by eWON* CVE-2015-7929 eWON firmware web server allows the use of the HTML command GET in place of POST. GET is less secure because data that are sent are part of the URL. …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. eWON says Won't fix. This could be a problem regarding CRSF (issue B) but the final user is supposed to configure eWON through VPN (and thus https). Mitigating factors: This could be an issue regarding the CSRF attacks described above. However as already mentioned the eWON firmware exposure to CSRF attacks is really limited. Thus having equivalent POST and GET parameters handling for each request sent to the eWON webserver is by extension not problematic. —> Yeah, *supposed to*.. Not problematic... …..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..…..….. -- Best Regards, Karn Ganeshen

Trust: 2.7

sources: NVD: CVE-2015-7925 // JVNDB: JVNDB-2015-006505 // CNVD: CNVD-2015-08451 // BID: 79625 // VULHUB: VHN-85886 // VULMON: CVE-2015-7925 // PACKETSTORM: 135069

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2015-08451

AFFECTED PRODUCTS

vendor:ewonmodel:ewonscope:lteversion:10.0s0

Trust: 1.0

vendor:ewonmodel:ewonscope:lteversion:10.1s0

Trust: 0.8

vendor:ewonmodel:<10.1s0scope: - version: -

Trust: 0.6

vendor:ewonmodel:ewonscope:eqversion:10.0s0

Trust: 0.6

vendor:ewonmodel:ewonscope:eqversion:0

Trust: 0.3

vendor:ewonmodel:10.1s0scope:neversion: -

Trust: 0.3

sources: CNVD: CNVD-2015-08451 // BID: 79625 // JVNDB: JVNDB-2015-006505 // CNNVD: CNNVD-201512-547 // NVD: CVE-2015-7925

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2015-7925
value: HIGH

Trust: 1.0

NVD: CVE-2015-7925
value: MEDIUM

Trust: 0.8

CNVD: CNVD-2015-08451
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-201512-547
value: MEDIUM

Trust: 0.6

VULHUB: VHN-85886
value: MEDIUM

Trust: 0.1

VULMON: CVE-2015-7925
value: MEDIUM

Trust: 0.1

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

Trust: 1.9

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

Trust: 0.6

VULHUB: VHN-85886
severity: MEDIUM
baseScore: 6.8
vectorString: AV:N/AC:M/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 8.6
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

nvd@nist.gov: CVE-2015-7925
baseSeverity: HIGH
baseScore: 8.0
vectorString: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: REQUIRED
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.1
impactScore: 5.9
version: 3.0

Trust: 1.0

sources: CNVD: CNVD-2015-08451 // VULHUB: VHN-85886 // VULMON: CVE-2015-7925 // JVNDB: JVNDB-2015-006505 // CNNVD: CNNVD-201512-547 // NVD: CVE-2015-7925

PROBLEMTYPE DATA

problemtype:CWE-352

Trust: 1.9

sources: VULHUB: VHN-85886 // JVNDB: JVNDB-2015-006505 // NVD: CVE-2015-7925

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201512-547

TYPE

cross-site request forgery

Trust: 0.6

sources: CNNVD: CNNVD-201512-547

CONFIGURATIONS

sources: JVNDB: JVNDB-2015-006505

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-85886

PATCH

title:eWON Security Enhancement (FW 10.1s0)url:http://ewon.biz/support/news/support/ewon-security-enhancement-7529-01

Trust: 0.8

title:Patch for eWON cross-site request forgery vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/68895

Trust: 0.6

title:eWON Fixes for cross-site request forgery vulnerabilitiesurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=59314

Trust: 0.6

sources: CNVD: CNVD-2015-08451 // JVNDB: JVNDB-2015-006505 // CNNVD: CNNVD-201512-547

EXTERNAL IDS

db:NVDid:CVE-2015-7925

Trust: 3.6

db:ICS CERTid:ICSA-15-351-03

Trust: 2.9

db:BIDid:79625

Trust: 2.7

db:PACKETSTORMid:135069

Trust: 1.3

db:JVNDBid:JVNDB-2015-006505

Trust: 0.8

db:CNNVDid:CNNVD-201512-547

Trust: 0.7

db:CNVDid:CNVD-2015-08451

Trust: 0.6

db:VULHUBid:VHN-85886

Trust: 0.1

db:VULMONid:CVE-2015-7925

Trust: 0.1

db:ICS CERTid:ICSA-15-342-01

Trust: 0.1

sources: CNVD: CNVD-2015-08451 // VULHUB: VHN-85886 // VULMON: CVE-2015-7925 // BID: 79625 // JVNDB: JVNDB-2015-006505 // PACKETSTORM: 135069 // CNNVD: CNNVD-201512-547 // NVD: CVE-2015-7925

REFERENCES

url:https://ics-cert.us-cert.gov/advisories/icsa-15-351-03

Trust: 3.0

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

Trust: 2.4

url:http://ewon.biz/support/news/support/ewon-security-enhancement-7529-01

Trust: 1.9

url:http://seclists.org/fulldisclosure/2015/dec/118

Trust: 1.2

url:http://packetstormsecurity.com/files/135069/ewon-xss-csrf-session-management-rbac-issues.html

Trust: 1.2

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

Trust: 0.8

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

Trust: 0.8

url:http://ewon.biz

Trust: 0.3

url:https://cwe.mitre.org/data/definitions/352.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:http://<ip>/rcgi.bin/deleteform

Trust: 0.1

url:http://<ip>/rcgi.bin/edit1iosrvform?cbiosrvlist=0&ac2on=edit

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2015-7927

Trust: 0.1

url:http://<ip>/rcgi.bin/editform?cb2=4&nbcb=3&opera2ontype=deleteuser

Trust: 0.1

url:http://<ip>/rcgi.bin/wsdform?sys_csave=1&ast_errormsg=success<script>alert("xss-ast_errormsg")</

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2015-7925

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2015-7926

Trust: 0.1

url:http://<ip>/rcgi.bin/editusriosrvform?edcfgdata=mininterval%3a10%0d

Trust: 0.1

url:https://ics-cert.us-cert.gov/advisories/icsa-15-342-01

Trust: 0.1

url:http://<ip>/rcgi.bin/editform?cb2=3&nbcb=4&opera2ontype=deleteuser

Trust: 0.1

url:http://<ip>/rcgi.bin/editadvusriosrvform?

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2015-7929

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2015-7928

Trust: 0.1

sources: CNVD: CNVD-2015-08451 // VULHUB: VHN-85886 // VULMON: CVE-2015-7925 // BID: 79625 // JVNDB: JVNDB-2015-006505 // PACKETSTORM: 135069 // CNNVD: CNNVD-201512-547 // NVD: CVE-2015-7925

CREDITS

Karn Ganeshen

Trust: 1.0

sources: BID: 79625 // PACKETSTORM: 135069 // CNNVD: CNNVD-201512-547

SOURCES

db:CNVDid:CNVD-2015-08451
db:VULHUBid:VHN-85886
db:VULMONid:CVE-2015-7925
db:BIDid:79625
db:JVNDBid:JVNDB-2015-006505
db:PACKETSTORMid:135069
db:CNNVDid:CNNVD-201512-547
db:NVDid:CVE-2015-7925

LAST UPDATE DATE

2025-04-13T23:14:24.194000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2015-08451date:2015-12-24T00:00:00
db:VULHUBid:VHN-85886date:2016-12-07T00:00:00
db:VULMONid:CVE-2015-7925date:2016-12-07T00:00:00
db:BIDid:79625date:2015-12-17T00:00:00
db:JVNDBid:JVNDB-2015-006505date:2015-12-24T00:00:00
db:CNNVDid:CNNVD-201512-547date:2015-12-24T00:00:00
db:NVDid:CVE-2015-7925date:2025-04-12T10:46:40.837

SOURCES RELEASE DATE

db:CNVDid:CNVD-2015-08451date:2015-12-24T00:00:00
db:VULHUBid:VHN-85886date:2015-12-23T00:00:00
db:VULMONid:CVE-2015-7925date:2015-12-23T00:00:00
db:BIDid:79625date:2015-12-17T00:00:00
db:JVNDBid:JVNDB-2015-006505date:2015-12-24T00:00:00
db:PACKETSTORMid:135069date:2015-12-24T20:35:19
db:CNNVDid:CNNVD-201512-547date:2015-12-21T00:00:00
db:NVDid:CVE-2015-7925date:2015-12-23T11:59:01.143