Product & Service Introduction:
===============================
Deutsche Telekom AG (English: German Telecom) is a German telecommunications company headquartered in Bonn,
North Rhine-Westphalia, Germany. Deutsche Telekom was formed in 1996 as the former state-owned monopoly
Deutsche Bundespost was privatized. As of June 2008, the German government still holds a 15% stake in company
stock directly, and another 17% through the government bank KfW.

Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered an arbitrary file upload web vulnerability in an official German Telekom website web-application.

The arbitrary file upload vulnerability is located in `/scripts/php/process.php` file. After executing the query through the process.php
page, the query result can be seen from `/scripts/php/downloadImage.php`. Remote attackers are able to manipulate the POST method request
with of the process.php file to upload unauhorized own malicious files.

Proof of Concept (PoC):
=======================
The arbitrary file upload vulnerability can be exploited by remote attackers without privileged application user account
and without required user inter action. For security demonstration or to reproduce the web vulnerability follow the provided
information and steps below.

a) The attacker should visit the main page
http://profilbildtool.telekom.de/imagecropper.php?lang=en to create an image using the system
b) In Choose network section: Twitter can be chosen as our network
c) In Type of activity:
1) "Official use" radio button should be used
2) "Lead accounts" from the dropdown menu
3) The country should be chosen is "Austria AT"
4) in Select Logo: "T-Systems" should be used
d) Types of background
1) Choose "Picture" for background
2) Browse and choose a specially crafted php or exe file. For example, we will use test.php
3) Press upload
At this point we should intercept the request and change

Content-Type: text/php to Content-Type: image/jpeg

This will help us to bypass the type checking on the server Side

The other constraint is the size of the file, We can change this by generating a specially crafted php file where
the php code is in the EXIF section of the file. By this, the file will run as php correctly once its extension is php.

Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact (admin (at) vulnerability-lab (dot) com [email concealed] or research (at) vulnerability-lab (dot) com [email concealed]) to get a permission.