Document Title: =============== PressePortal NewsAktuell (DPA) - Multiple Vulnerabilities References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1676 Vulnerability Magazine: http://magazine.vulnerability-db.com/?q=articles/2016/02/08/researcher-uncovers-multiple-sql-injection-vulnerabilities-dpa-presseportal Release Date: ============= 2016-02-08 Vulnerability Laboratory ID (VL-ID): ==================================== 1676 Common Vulnerability Scoring System: ==================================== 9.1 Product & Service Introduction: =============================== Presseportale sind Websites, die auf das Veröffentlichen von Pressemitteilungen spezialisiert sind. Sie informieren somit die Allgemeinheit und speziell Journalisten über Aussagen, Dementis, Ereignisse, Produkte und Veranstaltungen. Presseportale werden von Institutionen oder Unternehmen, häufig auch durch PR-Agenturen mit Pressemitteilungen bestückt. (Copy of the Homepage: https://de.wikipedia.org/wiki/Presseportal ) Abstract Advisory Information: ============================== A Vulnerability Laboratory Core Team Researcher discovered multiple remote vulnerabilities in the official Presse Portal (DPA) online service web-application. Vulnerability Disclosure Timeline: ================================== 2016-01-19: Researcher Notification & Coordination (Benjamin Kunz Mejri - Evolution Security GmbH) 2016-01-20: Vendor Notification (DPA Presseportal Data Security Team) 2016-01-22: Vendor Response/Feedback (DPA Presseportal Data Security Team) 2016-02-06: Vendor Fix/Patch (Presseportal Developer Team) 2016-02-08: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== Critical Technical Details & Description: ================================ 1.1 A remote sql injection web vulnerability has been discovered in the official Presse Portal (DPA) online service web-application. The vulnerability allows remote attackers to execute own sql commands to compromise the web-applicaation or connected dbms. The vulnerabilities are located in the `id` and `city` values of the `iframe.htx` `userfeed.htx` `userchoosefeed.htx` `change_profile.htx` files. Remote attackers are able to execute own sql commands by manipulation of the GET or POST method request with the vulnerable id and city parameters. The request method to inject the sql command is GET or POST and the issue is located on the application-side of the `./services/content/` module. The sql vulnerability allows remote attackers to compromise the database management system that is connected to the web-application. 3 oft the issues require a low privileged user account. The other two issues are POST request sql injections vulnerabilities. The security risk of the sql injection vulnerability is estimated as high with a cvss (common vulnerability scoring system) count of 9.1. Exploitation of the remote sql injection web vulnerability requires no user interaction or privileged web-application user account. Successful exploitation of the remote sql injection results in database management system, web-server and web-application compromise. Request Method(s): [+] GET & POST Vulnerable Module(s): [+] ./services/content/ [+] ./services/ Vulnerable File(s): [+] iframe.htx [+] userfeed.htx [+] userchoosefeed.htx [+] change_profile.htx [+] userindex.htx Vulnerable Parameter(s): [+] id [+] city [+] website_desc 1.2 Multiple client-side cross site scripting web vulnerabilities has been discovered in the official Presse Portal (DPA) online service web-application. A vulnerability allows remote attackers to inject malicious script codes on the client-side to compromise application to browser requests. The vulnerability is located in the `page` value of the `location_search.php` file. Remote attackers are able to inject own malicious script codes to the client-side of the affected web-application. The request method to inject is POST and the attack vector is client-side. The attacker inject the payload in the page value to execute the code in the results page of the location search module. The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.3. Exploitation of the non-persistent web vulnerability requires a no privilege web-application user account and only low user interaction. Successful exploitation results in session hijacking, persistent phishings attacks, persistent external redirect and malware loads or persistent manipulation of affected or connected module context. Request Method(s): [+] GET Vulnerable Module(s): [+] ./katalog/ Vulnerable File(s): [+] katalog.htx [+] -6694 Affected Parameter(s): [+] action=showDate&date= [+] action=showChar&char= Proof of Concept (PoC): ======================= The SQL Injection web vulnerabilities can be exploited by remote attackers without privileged web-application without user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Vulnerable Input-Fields: firstname, surname, street, zip, city, phone & company ( all editable fields) PoC: Remote SQL Injection http://www.presseportal.de/services/content/iframe.htx?id=0696afc466c0d37a34b865f85bd9b988%27%20AND%201=%271 http://www.presseportal.de/services/content/userfeed.htx?id=45c7c17402d167c99bb483f6685f1b52%27%20AND%201=%271 http://www.presseportal.de/services/content/userchoosefeed.htx?id=1ac520b9f998ca82d62efed7cdac0349' AND 1='1 PoC: #2 Pre-Auth UPDATE Blind sqli with output goto http://www.presseportal.de/services/change_profile.htx change city to the following payload Payload ', city=(SQL QUERY), company=' Note: You'll see the results in the city form ;) PoC: #3 Pre-Auth http://www.presseportal.de/services/content/userindex.htx create user account goto http://www.presseportal.de/services/content/userindex.htx create a feed insert needed parameters (website and a newscategory) injectable field/parameter is : website_desc PoC: Cross Site Scripting http://www.presseportal.de/katalog.htx?action=showChar&char=%22%3E%3Cscript%3Ealert%28123%29;%3C/script%3E http://www.presseportal.de/katalog/6694?action=showDate&date=20.01.2016%22%3E%3Cscript%3Ealert%28123%29;%3C/script%3E Reference(s): http://www.presseportal.de/ http://www.presseportal.de/katalog.htx http://www.presseportal.de/katalog/6694 http://www.presseportal.de/services/change_profile.htx http://www.presseportal.de/services/content/userchoosefeed.htx http://www.presseportal.de/services/content/userfeed.htx http://www.presseportal.de/services/content/iframe.htx http://www.presseportal.de/services/content/userindex.htx Security Risk: ============== 1.1 The security risk of the remote sql injection web vulnerabilities in the dpa presseportal web-application are estimated as critical. (CVSS 9.1) 1.2 The security risk of the cross site scripting web vulnerabilities in the dpa presseportal web-application are estimated as medium. (CVSS 3.3) Credits & Authors: ================== Vulnerability Laboratory [Research Team] - Marco Onorati [http://www.vulnerability-lab.com/show.php?user=Marco%20Onorati] 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.evolution-sec.com Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: magazine.vulnerability-db.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact 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 Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register/ 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@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com CONTACT: research@vulnerability-lab.com