Vulnerabilities > CVE-2009-2265 - Path Traversal vulnerability in Fckeditor
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
PARTIAL Integrity impact
PARTIAL Availability impact
PARTIAL Summary
Multiple directory traversal vulnerabilities in FCKeditor before 2.6.4.1 allow remote attackers to create executable files in arbitrary directories via directory traversal sequences in the input to unspecified connector modules, as exploited in the wild for remote code execution in July 2009, related to the file browser and the editor/filemanager/connectors/ directory.
Vulnerable Configurations
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 | ColdFusion 8.0.1 Arbitrary File Upload and Execute. CVE-2009-2265. Webapps exploit for cfm platform |
id | EDB-ID:16788 |
last seen | 2016-02-02 |
modified | 2010-11-24 |
published | 2010-11-24 |
reporter | metasploit |
source | https://www.exploit-db.com/download/16788/ |
title | ColdFusion 8.0.1 - Arbitrary File Upload and Execute |
Metasploit
description | This module exploits the Adobe ColdFusion 8.0.1 FCKeditor 'CurrentFolder' File Upload and Execute vulnerability. |
id | MSF:EXPLOIT/WINDOWS/HTTP/COLDFUSION_FCKEDITOR |
last seen | 2020-03-18 |
modified | 2017-07-24 |
published | 2010-11-02 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2265 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/coldfusion_fckeditor.rb |
title | ColdFusion 8.0.1 Arbitrary File Upload and Execute |
Nessus
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1836.NASL description Vinny Guido discovered that multiple input sanitising vulnerabilities in Fckeditor, a rich text web editor component, may lead to the execution of arbitrary code. last seen 2020-06-01 modified 2020-06-02 plugin id 44701 published 2010-02-24 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/44701 title Debian DSA-1836-1 : fckeditor - missing input sanitising code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DSA-1836. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(44701); script_version("1.14"); script_cvs_date("Date: 2019/08/02 13:32:22"); script_cve_id("CVE-2009-2265"); script_bugtraq_id(31812); script_xref(name:"DSA", value:"1836"); script_name(english:"Debian DSA-1836-1 : fckeditor - missing input sanitising"); script_summary(english:"Checks dpkg output for the updated package"); script_set_attribute( attribute:"synopsis", value:"The remote Debian host is missing a security-related update." ); script_set_attribute( attribute:"description", value: "Vinny Guido discovered that multiple input sanitising vulnerabilities in Fckeditor, a rich text web editor component, may lead to the execution of arbitrary code." ); script_set_attribute( attribute:"see_also", value:"https://www.debian.org/security/2009/dsa-1836" ); script_set_attribute( attribute:"solution", value: "Upgrade the fckeditor package. The old stable distribution (etch) doesn't contain fckeditor. For the stable distribution (lenny), this problem has been fixed in version 1:2.6.2-1lenny1." ); 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: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_core", value:"true"); script_set_attribute(attribute:"metasploit_name", value:'ColdFusion 8.0.1 Arbitrary File Upload and Execute'); script_set_attribute(attribute:"exploit_framework_metasploit", value:"true"); script_set_attribute(attribute:"exploit_framework_canvas", value:"true"); script_set_attribute(attribute:"canvas_package", value:'CANVAS'); script_cwe_id(22); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:fckeditor"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:5.0"); script_set_attribute(attribute:"patch_publication_date", value:"2009/07/16"); script_set_attribute(attribute:"plugin_publication_date", value:"2010/02/24"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"Debian Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("debian_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian"); if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (deb_check(release:"5.0", prefix:"fckeditor", reference:"1:2.6.2-1lenny1")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family Fedora Local Security Checks NASL id FEDORA_2009-7794.NASL description The remote Fedora host is missing one or more security updates : moin-1.8.4-2.fc11 : This update removes the filemanager directory from the embedded FCKeditor, it contains code with know security vulnerabilities, even though that code couldn last seen 2020-06-01 modified 2020-06-02 plugin id 39866 published 2009-07-20 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/39866 title Fedora 10 : wxGTK-2.8.10-2.fc10 / Fedora 11 : moin-1.8.4-2.fc11 (2009-7794) NASL family CGI abuses NASL id FCKEDITOR_CURRENTFOLDER_FILE_UPLOAD.NASL description FCKeditor is installed on the remote host. It is an open source HTML text editor that is typically bundled with web applications such Dokeos, GForge, Geeklog, and Xoops, although it can also be installed on its own. The installed version of the software fails to sanitize input passed to the last seen 2020-06-01 modified 2020-06-02 plugin id 39806 published 2009-07-15 reporter This script is Copyright (C) 2009-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/39806 title FCKeditor 'CurrentFolder' Arbitrary File Upload NASL family CGI abuses NASL id COLDFUSION_FCKEDITOR_FILE_UPLOAD.NASL description The version of Adobe ColdFusion running on the remote host is affected by an arbitrary file upload vulnerability. The installed version ships with a vulnerable version of an open source HTML text editor, FCKeditor, that fails to properly sanitize input passed to the last seen 2020-06-01 modified 2020-06-02 plugin id 39790 published 2009-07-14 reporter This script is Copyright (C) 2009-2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/39790 title Adobe ColdFusion FCKeditor 'CurrentFolder' File Upload NASL family Fedora Local Security Checks NASL id FEDORA_2009-7761.NASL description This update removes the filemanager and _samples directories from the embedded FCKeditor, they contain code with know security vulnerabilities, even though that code couldn last seen 2020-06-01 modified 2020-06-02 plugin id 39862 published 2009-07-20 reporter This script is Copyright (C) 2009-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/39862 title Fedora 10 : moin-1.6.4-3.fc10 (2009-7761) NASL family Fedora Local Security Checks NASL id FEDORA_2010-6012.NASL description - Sat Apr 3 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.8.7-2 - Fixes CVE-2010-0828 (rhbz#578801) - Thu Feb 18 2010 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.8.7-1 - Fixed major security issues in miscellaneous parts of moin - http://hg.moinmo.in/moin/1.8/raw-file/1.8.7/docs/CHANG ES - http://secunia.com/advisories/38444/ - Fixes rhbz#565604 - Mon Dec 28 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.8.6-1 - 1.8.6, mostly bug fixes - http://hg.moinmo.in/moin/1.8/raw-file/1.8.6/docs/CHANG ES - Tue Sep 15 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> - 1.8.5-1 - 1.8.5 - Includes multiple bug fixes, a new FCKeditor version and some new features - http://hg.moinmo.in/moin/1.8/raw-file/1.8.5/docs/CHANG ES - Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Sun Jul 12 2009 Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.8.4-2 - Remove the filemanager directory from the embedded FCKeditor, it contains code with know security vulnerabilities, even though that code couldn last seen 2020-06-01 modified 2020-06-02 plugin id 47409 published 2010-07-01 reporter This script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/47409 title Fedora 11 : moin-1.8.7-2.fc11 (2010-6012)
Packetstorm
data source | https://packetstormsecurity.com/files/download/95446/coldfusion_fckeditor.rb.txt |
id | PACKETSTORM:95446 |
last seen | 2016-12-05 |
published | 2010-11-03 |
reporter | MC |
source | https://packetstormsecurity.com/files/95446/ColdFusion-8.0.1-Arbitrary-File-Upload-And-Execute.html |
title | ColdFusion 8.0.1 Arbitrary File Upload And Execute |
Seebug
bulletinFamily | exploit |
description | CVE(CAN) ID: CVE-2009-2324,CVE-2009-2265 FCKeditor是一款开放源码的HTML文本编辑器。 FCKeditor没有正确地验证用户对多个connector模块所传送的输入,远程攻击者可以利用samples目录中的组件注入任意脚本或HTML,或通过目录遍历攻击上传恶意文件。 FCKeditor <= 2.6.4 * 从editor\filemanager\connectors中删除不使用的连接器 * 在config.ext中禁用文件浏览器 * 完全删除_samples目录 厂商补丁: FCKeditor --------- 目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本: http://www.fckeditor.net/ |
id | SSV:11759 |
last seen | 2017-11-19 |
modified | 2009-07-07 |
published | 2009-07-07 |
reporter | Root |
title | FCKeditor connectors模块多个跨站脚本及目录遍历漏洞 |
References
- http://www.ocert.org/advisories/ocert-2009-007.html
- http://isc.sans.org/diary.html?storyid=6724
- http://www.securitytracker.com/id?1022513
- http://sourceforge.net/project/shownotes.php?release_id=695430
- http://mail.zope.org/pipermail/zope-dev/2009-July/037195.html
- http://www.debian.org/security/2009/dsa-1836
- http://www.vupen.com/english/advisories/2009/1825
- http://secunia.com/advisories/35833
- http://www.vupen.com/english/advisories/2009/1813
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00750.html
- https://www.redhat.com/archives/fedora-package-announce/2009-July/msg00710.html
- http://secunia.com/advisories/35909
- http://www.securityfocus.com/archive/1/504721/100/0/threaded
- http://packetstormsecurity.com/files/163271/Adobe-ColdFusion-8-Remote-Command-Execution.html