[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ladesk Agent #1 (Bug Bounty) - Session Reset Password Vulnerability
Ladesk Agent #1 (Bug Bounty) - Session Reset Password Vulnerability
Vulnerability Laboratory ID (VL-ID):
Common Vulnerability Scoring System:
Product & Service Introduction:
Strengthen relationships with your customers. Be number one in customer service and let them spread the good word and
experience about you. Increase your sales. Seize the throne! Collect communication from your customers, let
LiveAgent process it and route it to the right support representatives at the right time.
(Copy of the Homepage: https://www.ladesk.com/features/ )
Abstract Advisory Information:
The vulnerability laboratory core research team discovered a critical remote session vulnerability in the Ladesk Agent online service web-application.
Vulnerability Disclosure Timeline:
2016-05-19: Researcher Notification & Coordination (Benjamin Kunz Mejri - Evolution Security GmbH)
2016-05-20: Vendor Notification (LaDesk - Bug Bounty Program)
2016-06-08: Vendor Fix/Patch (LaDesk Site Support Team)
2016-06-15: Acknowledgement (LaDesk - Bug Bounty Program)
2016-06-27: Public Disclosure (Vulnerability Laboratory)
Product: Ladesk Agent - Online Service (Web-Application) 2016 Q2
Technical Details & Description:
A password reset session web vulnerability has been discovered in the official Ladesk online service web-application.
The vulnerability allows remote attackers to reset a session credentials to unauthorized access user accounts or data.
The vulnerability is located in the `D` parameter value of the `rpc.php` file POST method request. Remote attackers are
able to include another users email address to reset the password to an unauthenticated account. The attacker can tamper
the http session POST method request of the reset account password function on interaction to unauthorized access another
users web-application profile. The page of the reset redirects the attacker to the included email account without secure
validation or token session approval.
The security risk of the vulnerability is estimated as critical with a cvss (common vulnerability scoring system) count of 8.7.
Exploitation of the session web vulnerability requires no privileged web-application user account and no user interaction.
Successful exploitation of the vulnerability results information leaking of sensible data, non authenticated or unauthorized
account access via account take-over.
[+] Password Reset Function (set_new_password)
[+] D - (username)
[+] Account System (Ladesk)
Proof of Concept (PoC):
The remote session vulnerability can be exploited by remote attackers without user interaction or privileged web-application user account.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.
Test User Account: bkm@xxxxxxxxxxxxxxxxx
Exploitation with Account: imgsrcx2020ifra@xxxxxxxxxxxxxx
Manual steps to reproduce the vulnerability ...
1. Register a low privileged user account
2. Login with a low privileged user account
3. Click to forgot password and request a change url
4. Open the arrived reset password email in the inbox
5. Start a session tamper for the http protocol
6. Include a new password and submit the request via POST method
7. Change in the POST method request the email information
Note: Continue to reply the POST method request and refresh the page
8. Now you are logged in with another users account credentials to your own setup password
9. You can approve the unauthorized account access by watching the new valid name on top of the login profile
10. Successful reproduce of the reset password vulnerability!
--- PoC Session Logs [POST] ---
POST https://imgsrcx2020ifra.ladesk.com/rpc.php Load Flags[LOAD_BACKGROUND LOAD_BYPASS_LOCAL_CACHE ] Größe des Inhalts[-1] Mime Type[application/json]
User-Agent[Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0]
Accept-Encoding[gzip, deflate, br]
Cookie[_ga=GA1.2.1957582361.1463659040; A_la_sid=1dc09a9de6527fbb7dc354accad89ed2; LaVisitorNew=Y; LaVisitorId=p9nfy6cbn3qr23xt089wjut0bq96e; LaSID=7t5yilqt3mf6y8zix564dcpb1rgxx; LaUserDetails=%7B%22email%22%3A%22bkm@xxxxxxxxxxxxxxxxx%22%2C%22firstName%22%3A%22%5C%22%3E%3C%5C%22%3Cimg%22%2C%22lastName%22%3A%22src%3D%5C%22x%5C%22%3E%2520%2520%3E%5C%22%3Ciframe%22%7D; visitor_la_sid=016358d7a7665a68a2e5554d75d93033; V_auth=42ac75755bf0e8c26a0d69f90da48bbd; gpf_language=de]
Date[Thu, 19 May 2016 12:28:07 GMT]
Cache-Control[no-store, no-cache, must-revalidate, post-check=0, pre-check=0]
Expires[26 Jun 1997 05:00:00 GMT]
Via[1.1 varnish (1.lb-app.la.linode-uk)]
Note: Change in the `D` parameter the username information with the email data.
Solution - Fix & Patch:
The vulnerability can be patched by a secure session approval and D context validation to prevent unauthorized account resets to another email.
Ensure that the token is connected to the email and session request to deny an attacker to change the email value. Approve the session and let
it expire on invalid request with other non connected credentials. Setup a secure exception that prevents to load another users credentials
after a reset to the main profile on top.
The security risk of the remote session password reset vulnerability in the ladesk online service web-application is estimated as critical. (CVSS 8.7)
Credits & Authors:
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (research@xxxxxxxxxxxxxxxxxxxxx) [www.vulnerability-lab.com] [http://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.]
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 licenses, policies, deface websites, hack into databases or trade with stolen data.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com
Contact: admin@xxxxxxxxxxxxxxxxxxxxx - research@xxxxxxxxxxxxxxxxxxxxx - admin@xxxxxxxxxxxxxxxxx
Section: magazine.vulnerability-lab.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.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, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific
authors or managers. To record, list, modify, use or edit our material contact (admin@ or research@xxxxxxxxxxxxxxxxxxxxx) to get a ask permission.
Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™
VULNERABILITY LABORATORY - RESEARCH TEAM