---------------------------------------------------------------------- Meet Secunia @ Microsoft Management Summit (MMS) in Las Vegas, USA (21-25 March). http://secunia.com/company/events/mms_2011/ ---------------------------------------------------------------------- TITLE: Feng Office Community Edition Cross-Site Scripting and Arbitrary File Upload SECUNIA ADVISORY ID: SA43912 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/43912/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=43912 RELEASE DATE: 2011-03-28 DISCUSS ADVISORY: http://secunia.com/advisories/43912/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/43912/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=43912 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: John Leitch has discovered multiple vulnerabilities in Feng Office Community Edition, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a vulnerable system. 1) Input passed via the "filename" and "slimContent" POST parameters to public/assets/javascript/slimey/save.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 2) The public/assets/javascript/ckeditor/ck_upload_handler.php script does not properly validate uploaded files, which can be exploited to upload files with arbitrary extensions. Successful exploitation of this vulnerability allows the execution of arbitrary PHP code, but requires knowledge of the generated file name (e.g. via enabled directory listings). The vulnerabilities are confirmed in version 1.7.4 Community Edition. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. Restrict access to the public/assets/javascript/ckeditor/ck_upload_handler.php (e.g. via .htaccess) or disable directory listings. PROVIDED AND/OR DISCOVERED BY: John Leitch, AutoSec Tools. ORIGINAL ADVISORY: AutoSec Tools: http://www.autosectools.com/Advisories/FengOffice.1.7.4_Reflected.Cross-site.Scripting_148.html http://www.autosectools.com/Advisories/FengOffice.1.7.4_Arbitrary.Upload_149.html OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ EXPLOIT: Further details available in Customer Area: http://secunia.com/products/corporate/EVM/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------