Lucene search
K

TYPO3 Extension ke_questionnaire 2.5.2 Information Disclosure

🗓️ 01 Dec 2014 00:00:00Reported by redteam-pentesting.deType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 45 Views

TYPO3 Extension ke_questionnaire 2.5.2 Information Disclosure in File Storag

Related
Code
ReporterTitlePublishedViews
Family
0day.today
TYPO3 Extension ke_questionnaire 2.5.2 Information Disclosure Vulnerability
2 Dec 201400:00
zdt
CVE
CVE-2014-8874
2 Dec 201416:00
cve
Cvelist
CVE-2014-8874
2 Dec 201416:00
cvelist
EUVD
EUVD-2014-8704
7 Oct 202500:30
euvd
NVD
CVE-2014-8874
2 Dec 201416:59
nvd
Prion
Design/Logic Flaw
2 Dec 201416:59
prion
securityvulns
[RT-SA-2014-009] Information Disclosure in TYPO3 Extension ke_questionnaire
1 Dec 201400:00
securityvulns
`Advisory: Information Disclosure in TYPO3 Extension ke_questionnaire  
  
The TYPO3 extension ke_questionnaire stores answered questionnaires in a  
publicly reachable directory on the webserver with filenames that are  
easily guessable.  
  
  
Details  
=======  
  
Product: ke_questionnaire   
Affected Versions: 2.5.2 (possibly all versions)  
Fixed Versions: unknown  
Vulnerability Type: Information Disclosure  
Security Risk: medium  
Vendor URL: http://kequestionnaire.kennziffer.com/  
Vendor Status: notified  
Advisory URL: https://www.redteam-pentesting.de/advisories/rt-sa-2014-009  
Advisory Status: published  
CVE: CVE-2014-8874  
CVE URL: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8874  
  
  
Introduction  
============  
  
"The TYPO3 extension kequestionnaire allows to easily and quickly create  
and evaluate individual questionnaires online in any TYPO3 website."  
  
(translated from the official website of ke_questionnaire)  
  
  
More Details  
============  
  
Files containing the answered questionnaires are stored in the  
"typo3temp" directory within the TYPO3 installation. As the source code  
of the ke_questionnaire extension shows, the filename of an answered  
questionnaire is solely based on the questionnaire ID and the user ID of  
the user who created the questionnaire.  
  
Source code (shortened):  
------------------------------------------------------------------------------  
function init() {  
global $BE_USER,$LANG,$BACK_PATH,$TCA_DESCR,$TCA,$CLIENT,$TYPO3_CONF_VARS;  
  
$this->temp_file = \  
'tx_kequestionnaire_temp_'.$this->q_id.'_'.$GLOBALS['BE_USER']->user['uid'];  
[...]  
}  
[...]  
function createSchedulerTask(){  
$myVars = $GLOBALS['BE_USER']->getSessionData('tx_kequestionnaire');  
$file_path = PATH_site.'typo3temp/'.$this->temp_file;  
[...]  
}  
------------------------------------------------------------------------------  
  
A valid URL that returns the answers to a questionnaire could look like  
the following:  
  
http://www.example.com/typo3temp/tx_kequestionnaire_temp_15999_7  
  
  
  
Proof of Concept  
================  
  
Using the tool wfuzz[1] it is possible to search for answers to  
questionnaires on a TYPO3 site that employs ke_questionnaire:  
  
------------------------------------------------------------------------  
$ python wfuzz.py -c -z range,14000-15000 -z range,1-10 --hc 301 \  
http://example.com/typo3temp/tx_kequestionnaire_temp_FUZZ_FUZ2Z  
------------------------------------------------------------------------  
  
  
Workaround  
==========  
  
The webserver config should deny access to answered questionnaire files,  
for example by adding an .htaccess file that limits access to  
tx_kequestionnaire_* files (this may hinder online evaluation of the  
questionnaires).  
  
  
Fix  
===  
  
No official fix available.  
  
  
Security Risk  
=============  
  
Depending on the questions in the questionnaire the answered  
questionnaires may contain personal information including participants'  
full names, addresses and so on. The risk therefore strongly depends on  
the information supplied in the questionnaires. Since this information  
will at least often contain email addresses, it is rated as at least a  
medium risk.  
  
  
Timeline  
========  
  
2014-04-21 Vulnerability identified  
2014-04-30 Customer approved disclosure to vendor  
2014-05-13 Vendor notified  
2014-05-20 Vendor works with TYPO3 security team on a fix  
2014-06-15 Vendor releases updated version which according to them  
does not fix the issue  
2014-10-08 TYPO3 security team says the issue is still unresolved  
2014-11-04 Vendor continues to release updated versions, no response  
whether the security issue is fixed  
2014-11-14 CVE number assigned  
2014-12-01 Advisory released  
  
  
References  
==========  
  
[1] https://code.google.com/p/wfuzz/  
  
  
RedTeam Pentesting GmbH  
=======================  
  
RedTeam Pentesting offers individual penetration tests, short pentests,  
performed by a team of specialised IT-security experts. Hereby, security  
weaknesses in company networks or products are uncovered and can be  
fixed immediately.  
  
As there are only few experts in this field, RedTeam Pentesting wants to  
share its knowledge and enhance the public knowledge with research in  
security-related areas. The results are made available as public  
security advisories.  
  
More information about RedTeam Pentesting can be found at  
https://www.redteam-pentesting.de.  
  
--   
RedTeam Pentesting GmbH Tel.: +49 241 510081-0  
Dennewartstr. 25-27 Fax : +49 241 510081-99  
52068 Aachen https://www.redteam-pentesting.de  
Germany Registergericht: Aachen HRB 14004  
Geschäftsführer: Patrick Hof, Jens Liebchen  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation