7.5
HIGH
CVE-2017-7185
Cesanta Mongoose Embedded Web Server Library Use-After-Free Remote Denial of Service
Description

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.

INFO

Published Date :

April 10, 2017, 3:59 p.m.

Last Modified :

Oct. 9, 2018, 8:01 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2017-7185 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cesanta mongoose_embedded_web_server_library
2 Cesanta mongoose_os
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-7185.

URL Resource
http://www.securityfocus.com/archive/1/540355/100/0/threaded
http://www.securityfocus.com/bid/97370 Third Party Advisory VDB Entry
https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b Patch Third Party Advisory
https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc Patch Third Party Advisory
https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt Exploit Technical Description Third Party Advisory
https://www.exploit-db.com/exploits/41826/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-7185 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-7185 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/540355/100/0/threaded [Exploit, Technical Description, Third Party Advisory, VDB Entry]
    Added Reference http://www.securityfocus.com/archive/1/540355/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 16, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/41826/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 15, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b No Types Assigned https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/97370 No Types Assigned http://www.securityfocus.com/bid/97370 Third Party Advisory, VDB Entry
    Changed Reference Type https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt No Types Assigned https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt Exploit, Technical Description, Third Party Advisory
    Changed Reference Type https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc No Types Assigned https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/archive/1/540355/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/archive/1/540355/100/0/threaded Exploit, Technical Description, Third Party Advisory, VDB Entry
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:a:cesanta:mongoose_embedded_web_server_library:6.7:*:*:*:*:*:*:* (and previous) *cpe:2.3:o:cesanta:mongoose_os:1.2:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Apr. 12, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/97370 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-7185 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-7185 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.47 }} -0.05%

score

0.90314

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability