Skip to content
OpenAdvisories

Product · Cesanta Software

mongoose

32 known vulnerabilities.

9 results · Clear filters · Feed

  • Medium 6.5

    Mongoose: Heap OOB reads and null-byte bypass in mg_path_is_sane (util.c)

    Mongoose is an embedded web server and network library. Prior to 7.22, mg_path_is_sane in src/util.c read path.buf[1] without first requiring path.len to be at least two and read s[2] when only two bytes remained. Unauthenticated remote requests reaching mg_h…

  • Medium 5.3

    Cesanta Mongoose MQTT Broker main.c fn stack-based overflow

    A weakness has been identified in Cesanta Mongoose up to 7.21. Affected by this vulnerability is the function fn of the file tutorials/mqtt/mqtt-server/main.c of the component MQTT Broker. Executing a manipulation can lead to stack-based buffer overflow. The …

  • Medium 6.5

    Mongoose: Path traversal in SSI #include directives enables arbitrary file read

    Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can control an SSI-enabled file can place directory traversal sequences in an #include file or #include virtual directive. The mg_ssi() function in src/ssi.c concatenates t…

  • Medium 5.4

    Mongoose: Reflected XSS via decoded URI in directory listing render

    Mongoose is an embedded web server and network library. Prior to 7.22, a remote attacker can send a crafted percent-encoded request path to a deployment using MG_ENABLE_DIRLIST and persuade a user to visit it. The mg_http_serve_dir() and listdir() path in src…

  • Medium 5.4

    Mongoose: Stored XSS via unescaped filenames in directory listing

    Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can create a file with an HTML payload in its name can trigger stored cross-site scripting when a user browses a directory served with MG_ENABLE_DIRLIST. The printdirentry(…

  • Medium 6.5

    Mongoose: Multipart boundary/header scan logic error in mg_http_next_multipart

    Mongoose is an embedded web server and network library. Prior to 7.22, a remote attacker can place a lone carriage return or line feed in multipart input processed by mg_http_next_multipart() in src/http.c. The loops comparing s[b] and s[b + 1], and s[h2] and…

  • Medium 5.3

    Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop

    A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is …

  • Medium 5.6

    Cesanta Mongoose P-384 Public Key mongoose.c mg_tls_verify_cert_signature authorization

    A vulnerability was determined in Cesanta Mongoose up to 7.20. Affected is the function mg_tls_verify_cert_signature of the file mongoose.c of the component P-384 Public Key Handler. Executing a manipulation can lead to authorization bypass. The attack can be…

  • Medium 5.6

    Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow

    A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote ex…