Vulnerabilities > CVE-2014-9223 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Allegrosoft Rompager 4.01/4.07
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Multiple buffer overflows in AllegroSoft RomPager, as used in Huawei Home Gateway products and other vendors and products, allow remote attackers to cause a denial of service or possibly execute arbitrary code via unspecified vectors related to authorization.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 2 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Web Servers NASL id ALLEGRO_SOFTWARE_ROMPAGER_WEBSERVER.NASL description According to its banner, the remote host is running a version of Allegro Software RomPager 4.07 to 4.33. It is, therefore, affected by multiple vulnerabilities : - A flaw in HTTP cookie management in the embedded web server allows a remote attacker to execute arbitrary code with administrative privileges and to possibly conduct attacks against connected devices. (CVE-2014-9222) - A digest authentication buffer overflow flaw exists that allows a remote attacker to cause a denial of service or to execute arbitrary code. (CVE-2014-9223) last seen 2020-06-01 modified 2020-06-02 plugin id 80228 published 2014-12-24 reporter This script is Copyright (C) 2014-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/80228 title Allegro RomPager HTTP Cookie Management Remote Code Execution Vulnerability (Misfortune Cookie) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if(description) { script_id(80228); script_version("1.12"); script_cvs_date("Date: 2018/11/15 20:50:25"); script_cve_id("CVE-2014-9222", "CVE-2014-9223"); script_bugtraq_id(71744, 71756); script_xref(name:"CERT", value:"561444"); script_name(english:"Allegro RomPager HTTP Cookie Management Remote Code Execution Vulnerability (Misfortune Cookie)"); script_summary(english:"Checks the version of Allegro RomPager."); script_set_attribute(attribute:"synopsis", value: "The remote host is affected by multiple remote code execution vulnerabilities."); script_set_attribute(attribute:"description", value: "According to its banner, the remote host is running a version of Allegro Software RomPager 4.07 to 4.33. It is, therefore, affected by multiple vulnerabilities : - A flaw in HTTP cookie management in the embedded web server allows a remote attacker to execute arbitrary code with administrative privileges and to possibly conduct attacks against connected devices. (CVE-2014-9222) - A digest authentication buffer overflow flaw exists that allows a remote attacker to cause a denial of service or to execute arbitrary code. (CVE-2014-9223)"); # http://mis.fortunecook.ie/too-many-cooks-exploiting-tr069_tal-oppenheim_31c3.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bb698969"); # https://blog.checkpoint.com/2014/12/18/misfortune-cookie-the-hole-in-your-internet-gateway-3/ script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2647cb4a" ); # http://mis.fortunecook.ie/misfortune-cookie-suspected-vulnerable.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?946b7793" ); # https://www.allegrosoft.com/allegro-software-urges-manufacturers-to-maintain-firmware-for-highest-level-of-embedded-device-security/news-press.html script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?22cba06d" ); script_set_attribute(attribute:"solution", value: "Contact the vendor for an updated firmware image. Allegro addressed both issues in mid-2005 with RomPager version 4.34."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploit_framework_canvas", value:"true"); script_set_attribute(attribute:"canvas_package", value:'CANVAS'); script_set_attribute(attribute:"vuln_publication_date", value: "2014/12/18"); script_set_attribute(attribute:"patch_publication_date", value: "2005/07/01"); script_set_attribute(attribute:"plugin_publication_date", value:"2014/12/24"); script_set_attribute(attribute:"potential_vulnerability", value:"true"); script_set_attribute(attribute:"plugin_type", value: "remote"); script_set_attribute(attribute:"cpe", value:"cpe:/a:allegrosoft:rompager"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"Web Servers"); script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc."); script_dependencies("http_version.nasl"); script_require_keys("Settings/ParanoidReport"); script_require_ports("Services/www", 80, 7547); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); if (report_paranoia < 2) audit(AUDIT_PARANOID); app_name = "Allegro RomPager"; fix = '4.34'; min = '4.07'; port = get_http_port(default:7547, embedded:TRUE); banner = get_http_banner(port:port); if(!banner) audit(AUDIT_WEB_NO_SERVER_HEADER, port); if("RomPager" >!< banner) audit(AUDIT_NOT_DETECT , app_name, port); pat = "Server:.*RomPager/([0-9]+\.[0-9]+)($|[^0-9])"; match = eregmatch(string:banner, pattern:pat); if (isnull(match) || isnull(match[0]) || isnull(match[1])) audit(AUDIT_NOT_DETECT , app_name, port); source = match[0]; version = match[1]; if ( ver_compare(ver:version, fix:min, strict:FALSE) >= 0 && ver_compare(ver:version, fix:fix, strict:FALSE) < 0 ) { report = NULL; if (report_verbosity > 0) { report = '\n' + '\n Source : ' + source + '\n Installed version : ' + version + '\n Fixed version : ' + fix + '\n'; security_hole(port:port, extra:report); } else security_hole(port:port); } else audit(AUDIT_LISTEN_NOT_VULN, app_name, port, version);
NASL family Web Servers NASL id ALLEGRO_SOFTWARE_ROMPAGER_MISFORTUNE_COOKIE.NASL description Nessus was able to overwrite the request path by sending a specially crafted cookie to the remote web server. It is, therefore, affected by multiple vulnerabilities : - A flaw in HTTP cookie management in the embedded web server allows a remote attacker to execute arbitrary code with administrative privileges and to possibly conduct attacks against connected devices. (CVE-2014-9222) - A digest authentication buffer overflow flaw exists that allows a remote attacker to cause a denial of service or to execute arbitrary code. (CVE-2014-9223) last seen 2020-06-01 modified 2020-06-02 plugin id 80304 published 2014-12-30 reporter This script is Copyright (C) 2014-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/80304 title Allegro RomPager HTTP Cookie Management Remote Code Execution Vulnerability (Misfortune Cookie) code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(80304); script_version("1.11"); script_cvs_date("Date: 2018/11/15 20:50:25"); script_cve_id("CVE-2014-9222", "CVE-2014-9223"); script_bugtraq_id(71744, 71756); script_xref(name:"CERT", value:"561444"); script_name(english:"Allegro RomPager HTTP Cookie Management Remote Code Execution Vulnerability (Misfortune Cookie)"); script_summary(english:"Attempts to overwrite the request path via a cookie."); script_set_attribute(attribute:"synopsis", value: "The remote host is affected by multiple remote code execution vulnerabilities."); script_set_attribute(attribute:"description", value: "Nessus was able to overwrite the request path by sending a specially crafted cookie to the remote web server. It is, therefore, affected by multiple vulnerabilities : - A flaw in HTTP cookie management in the embedded web server allows a remote attacker to execute arbitrary code with administrative privileges and to possibly conduct attacks against connected devices. (CVE-2014-9222) - A digest authentication buffer overflow flaw exists that allows a remote attacker to cause a denial of service or to execute arbitrary code. (CVE-2014-9223)"); # http://mis.fortunecook.ie/too-many-cooks-exploiting-tr069_tal-oppenheim_31c3.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bb698969"); # https://blog.checkpoint.com/2014/12/18/misfortune-cookie-the-hole-in-your-internet-gateway-3/ script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2647cb4a"); # http://mis.fortunecook.ie/misfortune-cookie-suspected-vulnerable.pdf script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?946b7793"); # https://www.allegrosoft.com/allegro-software-urges-manufacturers-to-maintain-firmware-for-highest-level-of-embedded-device-security/news-press.html script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?22cba06d" ); script_set_attribute(attribute:"solution", value: "Contact the vendor for an updated firmware image. Allegro addressed both issues in mid-2005 with RomPager version 4.34."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C"); script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"exploit_framework_canvas", value:"true"); script_set_attribute(attribute:"canvas_package", value:'CANVAS'); script_set_attribute(attribute:"vuln_publication_date", value:"2014/12/18"); script_set_attribute(attribute:"patch_publication_date", value:"2005/07/01"); script_set_attribute(attribute:"plugin_publication_date", value:"2014/12/30"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/a:allegrosoft:rompager"); script_set_attribute(attribute:"exploited_by_nessus", value:"true"); script_end_attributes(); script_category(ACT_ATTACK); script_family(english:"Web Servers"); script_copyright(english:"This script is Copyright (C) 2014-2018 Tenable Network Security, Inc."); script_dependencies("http_version.nasl"); script_require_ports("Services/www", 80, 7547); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); app_name = "Allegro RomPager"; port = get_http_port(default:7547, embedded:TRUE); banner = get_http_banner(port:port); # Only check banner if we are doing a paranoid scan if(report_paranoia < 2) { if(!banner) audit(AUDIT_WEB_NO_SERVER_HEADER, port); if("RomPager" >!< banner) audit(AUDIT_NOT_DETECT , app_name, port); } token = "/nessus_" + unixtime(); flag = token + "' was not found on the RomPager server."; set_http_cookie(name:"C107373883", value:token); r = http_send_recv3( method : "GET", item : "/", port : port, fetch404: TRUE, exit_on_fail:TRUE ); if (flag >< r[2]) { if (report_verbosity > 0) { report = '\n' + 'Nessus was able to exploit this issue with the following request:' + '\n' + '\n' + http_last_sent_request(); security_hole(port:port, extra:report); } else security_hole(port:port); } else audit(AUDIT_LISTEN_NOT_VULN, app_name, port);