ID

VAR-201906-0776


CVE

CVE-2017-8335


TITLE

plural Securifi Device firmware buffer error vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2017-014512

DESCRIPTION

An issue was discovered on Securifi Almond, Almond+, and Almond 2015 devices with firmware AL-R096. The device provides a user with the capability of setting name for wireless network. These values are stored by the device in NVRAM (Non-volatile RAM). It seems that the POST parameters passed in this request to set up names on the device do not have a string length check on them. This allows an attacker to send a large payload in the "mssid_1" POST parameter. The device also allows a user to view the name of the Wifi Network set by the user. While processing this request, the device calls a function named "getCfgToHTML" at address 0x004268A8 which retrieves the value set earlier by "mssid_1" parameter as SSID2 and this value then results in overflowing the stack set up for this function and allows an attacker to control $ra register value on the stack which allows an attacker to control the device by executing a payload of an attacker's choice. If the firmware version AL-R096 is dissected using binwalk tool, we obtain a cpio-root archive which contains the filesystem set up on the device that contains all the binaries. The binary "goahead" is the one that has the vulnerable function that recieves the values sent by the POST request. If we open this binary in IDA-pro we will notice that this follows a MIPS little endian format. The function sub_00420F38 in IDA pro is identified to be receiving the values sent in the POST parameter "mssid_1" at address 0x0042BA00 and then sets in the NVRAM at address 0x0042C314. The value is later retrieved in the function "getCfgToHTML" at address 0x00426924 and this results in overflowing the buffer due to "strcat" function that is utilized by this function. Securifi Almond , Almond+ , Almond 2015 The device firmware contains a buffer error vulnerability.Information is obtained, information is altered, and service operation is disrupted (DoS) There is a possibility of being put into a state. SecurifiAlmond is a wireless router with a touch screen. A buffer overflow vulnerability exists in SecurifiAlmond, Almond+, and getCfgToHTML in Almond 2015 using AL-R096 firmware, which can be exploited by an attacker to cause a buffer overflow or heap overflow. This vulnerability stems from the incorrect verification of data boundaries when the network system or product performs operations on the memory, resulting in incorrect read and write operations to other associated memory locations

Trust: 2.34

sources: NVD: CVE-2017-8335 // JVNDB: JVNDB-2017-014512 // CNVD: CNVD-2019-18743 // VULHUB: VHN-116538 // VULMON: CVE-2017-8335

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2019-18743

AFFECTED PRODUCTS

vendor:securifimodel:almond 2015scope:eqversion:al-r096

Trust: 1.8

vendor:securifimodel:almondscope:eqversion:al-r096

Trust: 1.8

vendor:securifimodel:almond\+scope:eqversion:al-r096

Trust: 1.0

vendor:securifimodel:almond+scope:eqversion:al-r096

Trust: 0.8

vendor:securifimodel:almond+ al-r096scope: - version: -

Trust: 0.6

vendor:securifimodel:almond-2015 al-r096scope: - version: -

Trust: 0.6

vendor:securifimodel:almond al-r096scope: - version: -

Trust: 0.6

sources: CNVD: CNVD-2019-18743 // JVNDB: JVNDB-2017-014512 // NVD: CVE-2017-8335

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2017-8335
value: HIGH

Trust: 1.0

NVD: CVE-2017-8335
value: HIGH

Trust: 0.8

CNVD: CNVD-2019-18743
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201906-707
value: HIGH

Trust: 0.6

VULHUB: VHN-116538
value: MEDIUM

Trust: 0.1

VULMON: CVE-2017-8335
value: MEDIUM

Trust: 0.1

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

Trust: 1.9

CNVD: CNVD-2019-18743
severity: HIGH
baseScore: 7.6
vectorString: AV:N/AC:H/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: HIGH
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 4.9
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

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

Trust: 0.1

nvd@nist.gov: CVE-2017-8335
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.8

sources: CNVD: CNVD-2019-18743 // VULHUB: VHN-116538 // VULMON: CVE-2017-8335 // JVNDB: JVNDB-2017-014512 // CNNVD: CNNVD-201906-707 // NVD: CVE-2017-8335

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.9

sources: VULHUB: VHN-116538 // JVNDB: JVNDB-2017-014512 // NVD: CVE-2017-8335

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201906-707

TYPE

buffer error

Trust: 0.6

sources: CNNVD: CNNVD-201906-707

CONFIGURATIONS

sources: JVNDB: JVNDB-2017-014512

PATCH

title:Almondurl:https://www.securifi.com/ja/almond

Trust: 0.8

title:Patch for SecurifiAlmond Buffer Overflow Vulnerability (CNVD-2019-18743)url:https://www.cnvd.org.cn/patchInfo/show/164227

Trust: 0.6

title:Securifi Almond Buffer error vulnerability fixurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=93892

Trust: 0.6

title:IoT_vulnerabilitiesurl:https://github.com/ethanhunnt/IoT_vulnerabilities

Trust: 0.1

sources: CNVD: CNVD-2019-18743 // VULMON: CVE-2017-8335 // JVNDB: JVNDB-2017-014512 // CNNVD: CNNVD-201906-707

EXTERNAL IDS

db:NVDid:CVE-2017-8335

Trust: 3.3

db:PACKETSTORMid:153227

Trust: 2.5

db:JVNDBid:JVNDB-2017-014512

Trust: 0.8

db:CNNVDid:CNNVD-201906-707

Trust: 0.7

db:CNVDid:CNVD-2019-18743

Trust: 0.6

db:VULHUBid:VHN-116538

Trust: 0.1

db:VULMONid:CVE-2017-8335

Trust: 0.1

sources: CNVD: CNVD-2019-18743 // VULHUB: VHN-116538 // VULMON: CVE-2017-8335 // JVNDB: JVNDB-2017-014512 // PACKETSTORM: 153227 // CNNVD: CNNVD-201906-707 // NVD: CVE-2017-8335

REFERENCES

url:https://seclists.org/bugtraq/2019/jun/8

Trust: 3.2

url:https://github.com/ethanhunnt/iot_vulnerabilities/blob/master/securifi_almond_plus_sec_issues.pdf

Trust: 2.4

url:http://packetstormsecurity.com/files/153227/securifi-almond-2015-buffer-overflow-command-injection-xss-csrf.html

Trust: 2.4

url:https://nvd.nist.gov/vuln/detail/cve-2017-8335

Trust: 1.5

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2017-8335

Trust: 0.8

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

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://github.com/ethanhunnt/iot_vulnerabilities

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8330

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8333

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8329

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8337

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8328

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8331

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8336

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8334

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2017-8332

Trust: 0.1

sources: CNVD: CNVD-2019-18743 // VULHUB: VHN-116538 // VULMON: CVE-2017-8335 // JVNDB: JVNDB-2017-014512 // PACKETSTORM: 153227 // CNNVD: CNNVD-201906-707 // NVD: CVE-2017-8335

CREDITS

Mandar Satam

Trust: 0.1

sources: PACKETSTORM: 153227

SOURCES

db:CNVDid:CNVD-2019-18743
db:VULHUBid:VHN-116538
db:VULMONid:CVE-2017-8335
db:JVNDBid:JVNDB-2017-014512
db:PACKETSTORMid:153227
db:CNNVDid:CNNVD-201906-707
db:NVDid:CVE-2017-8335

LAST UPDATE DATE

2024-11-23T21:52:10.545000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2019-18743date:2019-06-21T00:00:00
db:VULHUBid:VHN-116538date:2019-06-20T00:00:00
db:VULMONid:CVE-2017-8335date:2019-06-20T00:00:00
db:JVNDBid:JVNDB-2017-014512date:2019-06-24T00:00:00
db:CNNVDid:CNNVD-201906-707date:2019-06-21T00:00:00
db:NVDid:CVE-2017-8335date:2024-11-21T03:33:47.250

SOURCES RELEASE DATE

db:CNVDid:CNVD-2019-18743date:2019-06-21T00:00:00
db:VULHUBid:VHN-116538date:2019-06-18T00:00:00
db:VULMONid:CVE-2017-8335date:2019-06-18T00:00:00
db:JVNDBid:JVNDB-2017-014512date:2019-06-24T00:00:00
db:PACKETSTORMid:153227date:2019-06-07T15:06:02
db:CNNVDid:CNNVD-201906-707date:2019-06-18T00:00:00
db:NVDid:CVE-2017-8335date:2019-06-18T19:15:10.763