Document Title: =============== Socrata Bug Bounty #1 - Persistent Encoding Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1438 Release Date: ============= 2015-04-22 Vulnerability Laboratory ID (VL-ID): ==================================== 1438 Common Vulnerability Scoring System: ==================================== 3.3 Product & Service Introduction: =============================== Private Socrata Bug Bounty Program - BC Abstract Advisory Information: ============================== The Vulnerability Laboratory Research Team discovered an application-side input validation vulnerability in the Socrata online service web-application. Vulnerability Disclosure Timeline: ================================== 2015-02-24: Researcher Notification & Coordination (Benjamin Kunz Mejri - Evolution Security GmbH) 2015-02-24: Vendor Notification (Socrata Security Team - Silent Bug Bounty Program) 2015-02-24: Vendor Response/Feedback (Socrata Security Team - Silent Bug Bounty Program) 2015-02-24: Vendor Fix/Patch (Socrata Developer Team) 2015-02-25: Bug Bounty Reward (Socrata Security Team - Silent Bug Bounty Program) 2015-04-22: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Socrata Inc Product: Socrata Online Service - Web Application 2015 Q1 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ An application-side mail encoding web vulnerability has been discovered in the official Socrata online service web-application. The vulnerability allows remote attackers to bypass the outgoing mail filter validation of the socrata web-server & web-application. The vulnerability is located in the first- and lastname values of the `leadCapture/save` module. Remote attackers without privileged application user account are able to inject persistent malicious script codes. The script code execution occurs in the notification mail to the service but also to the active user copy mail. The persistent injected script code executes in the header section were the database context of the first- and lastname will be displayed. The sender interacts automatically by usage of the discover.socrata.com service. The validation of the db stored outgoing values is wrong encoded and allows persistent injections of malicious script codes via POST method. The attack vector is persistent and the request method to inject is POST. The security risk of the mail encoding web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.3. Exploitation of the web vulnerability requires no privileged web-application user account and low or medium user interaction because of the persistent attack vector. Successful exploitation of the encoding vulnerability results in session hijacking, persistent phishing, persistent external redirects and persistent manipulation of web header or mail body context. Vulnerable Domain(s): [+] discover.socrata.com Vulnerable Module(s): [+] index.php/leadCapture/save Vulnerable Parameter(s): [+] firstname [+] lastname Affected Sender(s): [+] sales@socrata.com Affected Receiver(s): [+] bkm@evolution-sec.com Affected Context Module(s): [+] Service Notification Mail (Users) Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers without privileged application user account or user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Manual steps to reproduce the vulnerability ... 1. Surf to the vulnerable service page 2. Inject payload to the firstname and lastname values 3. Save the content 4. View your mailbox to review the malicious mail 5 Successful reproduce of the security vulnerability! PoC: Thank You for Downloading "The 2014 Benchmark Report"
2014 Open Data Benchmark Report
Read the Full Report

Hello ">[PERSISTENT INJECTED SCRIPT CODE HERE!]