Advisory ID: HTB23174
Product: Feng Office
Vendor: Secure Data SRL
Vulnerable Version(s): 2.3.2-rc and probably prior
Tested Version: 2.3.2-rc
Advisory Publication: September 18, 2013 [without technical details]
Vendor Notification: September 18, 2013=20
Public Disclosure: October 9, 2013=20
Vulnerability Type: Cross-Site Scripting [CWE-79]
CVE Reference: CVE-2013-5744
Risk Level: Medium=20
CVSSv2 Base Score: 4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status: Solution Available
Discovered and Provided: High-Tech Bridge Security Research Lab ( https://w=
ww.htbridge.com/advisory/ )=20
---------------------------------------------------------------------------=
--------------------
Advisory Details:
High-Tech Bridge Security Research Lab discovered vulnerability in Feng Off=
ice, which can be exploited to perform Cross-Site Scripting (XSS) attacks a=
gainst users of vulnerable application.
1) Cross-Site Scripting (XSS) in Feng Office: CVE-2013-5744
1.1 The vulnerability exists due to insufficient sanitisation of user-suppl=
ied data in "ref_[any]" HTTP GET parameter passed to "/index.php" script. A=
remote attacker can trick a logged-in user to open a specially crafted lin=
k and execute arbitrary HTML and script code in browser in context of the v=
ulnerable website.
The exploitation example below uses JavaScript "alert()" function to displa=
y user's cookies:
http://[host]/index.php?c=3Daccess&a=3Dlogin&ref_abc=3D%22%3E%3Cscript%3Eal=
ert%28document.cookie%29;%3C/script%3E
---------------------------------------------------------------------------=
--------------------
Solution:
Vendor did not reply to 3 notifications by email, 1 notification by twitter=
, 1 notification by contact form on website, 1 forum thread, 1 support tick=
et. Currently we are not aware of any official solution for this vulnerabil=
ity.
Unofficial patch was developed by High-Tech Bridge Security Research Lab an=
d is available here: https://www.htbridge.com/advisory/HTB23174-patch.zip
---------------------------------------------------------------------------=
--------------------
References:
[1] High-Tech Bridge Advisory HTB23174 - https://www.htbridge.com/advisory/=
HTB23174 - Cross-Site Scripting (XSS) in Feng Office.
[2] Feng Office - http://www.fengoffice.com - Feng Office is a Web-based So=
ftware that integrates Project Management, Client Relationship Management, =
Billing, Financing, among other features that help you efficiently run your=
Professional Services Business.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - in=
ternational in scope and free for public use, CVE=C2=AE is a dictionary of =
publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to =
developers and security practitioners, CWE is a formal list of software wea=
kness types.
[5] ImmuniWeb=C2=AE - http://www.htbridge.com/immuniweb/ - is High-Tech Bri=
dge's proprietary web application security assessment solution with SaaS de=
livery model that combines manual and automated vulnerability testing.
---------------------------------------------------------------------------=
--------------------
Disclaimer: The information provided in this Advisory is provided "as is" a=
nd without any warranty of any kind. Details of this Advisory may be update=
d in order to provide as accurate information as possible. The latest versi=
on of the Advisory is available on web page [1] in the References.