Title: ====== La Poste FR Website - Local File Include Vulnerability Date: ===== 2011-09-11 VL-ID: ===== 266 Introduction: ============= La Poste is the mail service of France, which also operates postal services in the French Overseas Departments of RĂ©union, Guadeloupe, Martinique and French Guiana, and the territorial collectivities of Saint Pierre and Miquelon and Mayotte. It is headquartered in the 15th arrondissement of Paris. La Poste postage stamps are valid for use in the Overseas Departments, but not in the Territorial Collectivities, which issue their own stamps, separate from metropolitan France. It also operates the postal service in Monaco, while in Andorra, it operates postal services alongside those of Spain. In addition to postal services, it also offers banking services (with La Banque Postale) and, via Chronopost, courier services. After the government, La Poste is the second biggest employer in France. It also offers webmail, providing @laposte.net email addresses and hosts approximately 1.6 million active email accounts. La Poste owns German parcel delivery company Deutscher Paket Dienst (DPD). (Copy of the Website: http://en.wikipedia.org/wiki/La_Poste_%28France%29 ) Abstract: ========= Vulnerability-Lab Team (A-HEALL) discovered a local file inclusion on the La Poste (FR) vendor website. Report-Timeline: ================ 2011-09-06: Vendor Notification 2011-09-08: Vendor Response/Feedback 2011-09-10: Vendor Fix/Patch 2011-09-12: Public or Non-Public Disclosure Status: ======== Published Affected Products: ================== Exploitation-Technique: ======================= Remote Severity: ========= High Details: ======== Local file inclusion is detected on the LaPoste website. The bug allows remote attackers to include (request) a local file of the server. Vulnerable Module(s): [+] freeEditorial - (?page) Pictures: ../1.png Solution: ========= Restrict & parse the path request of ?page= to disallow local/remote file requests. Example: if($_GET[file] == site) { include($_GET[page]);} else { include(content.php);} Risk: ===== The security risk of the local file include vulnerability is estimated as high. Credits: ======== Vulnerability Research Laboratory - Alexander Fuchs (A-HEALL) [www.1337core.de] Disclaimer: =========== 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. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability- Lab. 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 or its suppliers.