Vulnerabilities > CVE-2013-6225 - Path Traversal vulnerability in Livezilla 5.0.1.4
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
LiveZilla 5.0.1.4 has a Remote Code Execution vulnerability
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Relative Path Traversal An attacker exploits a weakness in input validation on the target by supplying a specially constructed path utilizing dot and slash characters for the purpose of obtaining access to arbitrary files or resources. An attacker modifies a known path on the target in order to reach material that is not available through intended channels. These attacks normally involve adding additional path separators (/ or \) and/or dots (.), or encodings thereof, in various combinations in order to reach parent directories or entirely separate trees of the target's directory structure.
- Directory Traversal An attacker with access to file system resources, either directly or via application logic, will use various file path specification or navigation mechanisms such as ".." in path strings and absolute paths to extend their range of access to inappropriate areas of the file system. The attacker attempts to either explore the file system for recon purposes or access directories and files that are intended to be restricted from their access. Exploring the file system can be achieved through constructing paths presented to directory listing programs, such as "ls" and 'dir', or through specially crafted programs that attempt to explore the file system. The attacker engaging in this type of activity is searching for information that can be used later in a more exploitive attack. Access to restricted directories or files can be achieved through modification of path references utilized by system applications.
- File System Function Injection, Content Based An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
- Using Slashes and URL Encoding Combined to Bypass Validation Logic This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL. An URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
- Manipulating Input to File System Calls An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Exploit-Db
description | LiveZilla 5.0.1.4 - Remote Code Execution. CVE-2013-6225. Webapps exploit for php platform |
id | EDB-ID:29672 |
last seen | 2016-02-03 |
modified | 2013-11-18 |
published | 2013-11-18 |
reporter | Curesec Research Team |
source | https://www.exploit-db.com/download/29672/ |
title | LiveZilla 5.0.1.4 - Remote Code Execution |
Nessus
NASL family CGI abuses NASL id LIVEZILLA_G_LANGUAGE_PARAMETER_LFI.NASL description The version of LiveZilla installed on the remote web server fails to properly sanitize user-supplied input to the last seen 2020-06-01 modified 2020-06-02 plugin id 71440 published 2013-12-14 reporter This script is Copyright (C) 2013-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/71440 title LiveZilla 'mobile/php/translation/index.php' 'g_language' Parameter Local File Inclusion code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(71440); script_version("1.6"); script_cvs_date("Date: 2018/11/15 20:50:17"); script_cve_id("CVE-2013-6225"); script_bugtraq_id(63764); script_xref(name:"EDB-ID", value:"29672"); script_name(english:"LiveZilla 'mobile/php/translation/index.php' 'g_language' Parameter Local File Inclusion"); script_summary(english:"Attempts to read a local file."); script_set_attribute(attribute:"synopsis", value: "The remote web server contains a PHP application that is affected by a local file inclusion attack."); script_set_attribute(attribute:"description", value: "The version of LiveZilla installed on the remote web server fails to properly sanitize user-supplied input to the 'g_language' parameter of the 'mobile/php/translation/index.php' script. A remote, unauthenticated attacker can exploit this issue to view arbitrary files or execute arbitrary PHP code on the remote host. Note that this application is reportedly also affected by several additional vulnerabilities including a local password disclosure and multiple cross-site scripting vulnerabilities; however, Nessus has not tested for them."); script_set_attribute(attribute:"see_also", value:"https://curesec.com/blog/article/blog/25.html"); script_set_attribute(attribute:"see_also", value:"http://www.livezilla.net/board/index.php?/topic/163-livezilla-changelog/"); script_set_attribute(attribute:"solution", value:"Upgrade to LiveZilla version 5.1.1.0 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:ND"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_set_attribute(attribute:"vuln_publication_date", value:"2013/11/15"); script_set_attribute(attribute:"patch_publication_date", value:"2013/11/11"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/12/14"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/a:livezilla:livezilla"); script_set_attribute(attribute:"exploited_by_nessus", value:"true"); script_end_attributes(); script_category(ACT_ATTACK); script_family(english:"CGI abuses"); script_copyright(english:"This script is Copyright (C) 2013-2018 Tenable Network Security, Inc."); script_dependencies("livezilla_detect.nbin", "os_fingerprint.nasl"); script_require_ports("Services/www", 80); script_require_keys("installed_sw/LiveZilla", "www/PHP"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); include("install_func.inc"); port = get_http_port(default:80, php:TRUE); appname = 'LiveZilla'; install = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE); path = install["path"]; install_url = build_url(port:port, qs:path); # Make sure we have a Windows host as this only affects installs on Windows if (report_paranoia < 2) { os = get_kb_item("Host/OS"); if (os && "Windows" >!< os) audit(AUDIT_OS_NOT, 'Windows'); } files = make_list('windows/win.ini', 'winnt/win.ini'); file_pats = make_array(); file_pats['winnt/win.ini'] = "^\[[a-zA-Z]+\]|^; for 16-bit app support"; file_pats['windows/win.ini'] = "^\[[a-zA-Z]+\]|^; for 16-bit app support"; vuln = FALSE; foreach file (files) { attack = mult_str(str:"../", nb:12) + file + "%00"; url = "/mobile/php/translation/index.php?g_language=" + attack; res = http_send_recv3( method : "GET", port : port, item : path + url, exit_on_fail : TRUE ); if (egrep(pattern:file_pats[file], string:res[2])) { vuln = TRUE; break; } } if (!vuln) audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_url); if (report_verbosity > 0) { snip = crap(data:"-", length:30)+' snip '+ crap(data:"-", length:30); report = '\n' + 'Nessus was able to exploit the issue to retrieve the contents'+ '\n' + 'of "'+file+'" using the following request :' + '\n' + '\n' + install_url + url + '\n'; if (report_verbosity > 1) { if ( !defined_func("nasl_level") || nasl_level() < 5200 || !isnull(get_preference("sc_version")) ) { report += '\n' + 'This produced the following truncated output :' + '\n' + snip + '\n' + beginning_of_response(resp:res[2], max_lines:'10') + '\n' + snip + '\n'; security_hole(port:port, extra:report); } else { # Sanitize file names if ("/" >< file)file = ereg_replace(pattern:"^.+/([^/]+)$", replace:"\1", string:file); security_report_v4( port : port, severity : SECURITY_HOLE, file : file, line_limit : 10, request : make_list(url), output : chomp(res[2]), attach_type : 'text/plain' ); } } else security_hole(port:port, extra:report); } else security_hole(port);
NASL family CGI abuses NASL id LIVEZILLA_5_1_1_0.NASL description The version of LiveZilla hosted on the remote web server is affected by multiple vulnerabilities : - The application saves admin login details in a 1 click XML file. This allows a local attacker to obtain admin login credentials. (CVE-2013-6223) - The application is affected by multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input. (CVE-2013-6224, CVE-2013-7002) - The application is affected by a local file inclusion vulnerability that can be exploited to view arbitrary files or execute arbitrary PHP code on the remote host. (CVE-2013-6225) last seen 2020-06-01 modified 2020-06-02 plugin id 71441 published 2013-12-14 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/71441 title LiveZilla < 5.1.1.0 Multiple Vulnerabilities code # # (C) Tenable Network Security, Inc. # include("compat.inc"); if (description) { script_id(71441); script_version("1.7"); script_cvs_date("Date: 2019/11/27"); script_cve_id( "CVE-2013-6223", "CVE-2013-6224", "CVE-2013-6225", "CVE-2013-7002" ); script_bugtraq_id( 63764, 63998, 64001, 64174, 64176 ); script_xref(name:"EDB-ID", value:"29672"); script_name(english:"LiveZilla < 5.1.1.0 Multiple Vulnerabilities"); script_summary(english:"Checks the version of LiveZilla."); script_set_attribute(attribute:"synopsis", value: "The remote web server contains a PHP application that is affected by multiple vulnerabilities."); script_set_attribute(attribute:"description", value: "The version of LiveZilla hosted on the remote web server is affected by multiple vulnerabilities : - The application saves admin login details in a 1 click XML file. This allows a local attacker to obtain admin login credentials. (CVE-2013-6223) - The application is affected by multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input. (CVE-2013-6224, CVE-2013-7002) - The application is affected by a local file inclusion vulnerability that can be exploited to view arbitrary files or execute arbitrary PHP code on the remote host. (CVE-2013-6225)"); script_set_attribute(attribute:"see_also", value:"https://curesec.com/data/advisories/Curesec-2013-1006.pdf"); script_set_attribute(attribute:"see_also", value:"https://curesec.com/data/advisories/Curesec-2013-1007.pdf"); script_set_attribute(attribute:"see_also", value:"https://curesec.com/data/advisories/Curesec-2013-1008.pdf"); script_set_attribute(attribute:"see_also", value:"http://www.livezilla.net/board/index.php?/topic/163-livezilla-changelog/"); script_set_attribute(attribute:"solution", value: "Upgrade to LiveZilla version 5.1.1.0 or later."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N"); script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:ND"); script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-7002"); script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available"); script_set_attribute(attribute:"exploit_available", value:"true"); script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990); script_set_attribute(attribute:"vuln_publication_date", value:"2013/11/28"); script_set_attribute(attribute:"patch_publication_date", value:"2013/11/21"); script_set_attribute(attribute:"plugin_publication_date", value:"2013/12/14"); script_set_attribute(attribute:"plugin_type", value:"remote"); script_set_attribute(attribute:"cpe", value:"cpe:/a:livezilla:livezilla"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_family(english:"CGI abuses"); script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_dependencies("livezilla_detect.nbin"); script_require_keys("installed_sw/LiveZilla", "www/PHP"); script_require_ports("Services/www", 80); exit(0); } include("audit.inc"); include("global_settings.inc"); include("misc_func.inc"); include("http.inc"); include("install_func.inc"); port = get_http_port(default:80, php:TRUE); appname = "LiveZilla"; install = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE); path = install["path"]; version = install["version"]; install_url = build_url(port:port, qs:path); fix = '5.1.1.0'; ver = split(version, sep:".", keep:FALSE); for (i=0; i<max_index(ver); i++) ver[i] = int(ver[i]); if ( ver[0] < 5 || (ver[0] == 5 && ver[1] < 1) || (ver[0] == 5 && ver[1] == 1 && ver[2] < 1) ) { set_kb_item(name:'www/'+port+'/XSS', value:TRUE); if (report_verbosity > 0) { report = '\n URL : ' + install_url + '\n Installed version : ' + version + '\n Fixed version : ' + fix + '\n'; security_warning(port:port, extra:report); } else security_warning(port); } else audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_url, version);
Packetstorm
data source | https://packetstormsecurity.com/files/download/124034/CURE-2013-1007.txt |
id | PACKETSTORM:124034 |
last seen | 2016-12-05 |
published | 2013-11-15 |
reporter | Curesec Research Team |
source | https://packetstormsecurity.com/files/124034/Livezilla-Code-Execution-Local-File-Inclusion.html |
title | Livezilla Code Execution / Local File Inclusion |
References
- http://www.exploit-db.com/exploits/29672
- http://www.exploit-db.com/exploits/29672
- https://curesec.com/de/veroeffentlichungen/advisories.html
- https://curesec.com/de/veroeffentlichungen/advisories.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/89051
- https://exchange.xforce.ibmcloud.com/vulnerabilities/89051