Vulnerability Details : CVE-2017-7185
Potential exploit
Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.7 and earlier and Mongoose OS 1.2 and earlier allows remote attackers to cause a denial of service (crash) via a multipart/form-data POST request without a MIME boundary string.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2017-7185
- cpe:2.3:o:cesanta:mongoose_os:*:*:*:*:*:*:*:*
- cpe:2.3:a:cesanta:mongoose_embedded_web_server_library:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-7185
1.52%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-7185
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-7185
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-7185
-
https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc
Fix crash in multipart handling · cesanta/mongoose@b8402ed · GitHubPatch;Third Party Advisory
-
https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b
Fix crash in multipart handling · cesanta/mongoose-os@042eb43 · GitHubPatch;Third Party Advisory
-
https://www.exploit-db.com/exploits/41826/
Cesanta Mongoose OS - Use-After-Free
-
http://www.securityfocus.com/bid/97370
Mongoose OS CVE-2017-7185 Use After Free Denial of Service VulnerabilityThird Party Advisory;VDB Entry
-
http://www.securityfocus.com/archive/1/540355/100/0/threaded
SecurityFocus
-
https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt
Exploit;Technical Description;Third Party Advisory
Jump to