Document Title: =============== La Poste FR Website - Local File Include Vulnerability Release Date: ============= 2011-09-10 Vulnerability Laboratory ID (VL-ID): ==================================== 266 Product & Service 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 Advisory Information: ============================== Vulnerability-Lab Team (A-HEALL) discovered a local file inclusion on the La Poste (FR) vendor website. Vulnerability Disclosure 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 Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== Critical Technical Details & Description: ================================ 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 Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers. For example or reproduce ... PoC: http://timbres.laposte.fr/freeEditorial.jgi?page=../../images/bg_leftbox.gif Solution - Fix & Patch: ======================= 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);} Security Risk: ============== The security risk of the local file include vulnerability is estimated as critical. Credits & Authors: ================== Vulnerability Research Laboratory - Alexander Fuchs (A-HEALL) [www.1337core.de] 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. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php 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, sourcecode, 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@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory