As a cybersecurity enthusiast, I always keep an eye out for potential vulnerabilities in popular websites and applications. Recently, I stumbled upon a reflected XSS vulnerability in LinkedIn .
XSS (Cross-Site Scripting) is a type of security vulnerability in web applications where an attacker can inject malicious scripts into a web page viewed by other users. The malicious scripts are typically executed in the browser of the victim user, allowing the attacker to steal sensitive information, such as session cookies, login credentials, or personal data.
There are several types of XSS attacks, but the most common type is called “Reflected XSS.” In a Reflected XSS attack, the attacker sends a malicious link to a victim user, which contains a script that is executed when the victim user clicks on the link. The script is then reflected back to the victim’s browser by the server, which allows the attacker to execute the script in the context of the victim’s session.
CVE-2021–31589 is a vulnerability that allows attackers to execute malicious code on a user’s system through a specially crafted URL. This vulnerability affect BeyondTrust Secure Remote Access Base Software version 6.0.1 and earlier versions. Essentially, this means that an unauthorized person could insert malicious code into the software, potentially leading to unauthorized access to sensitive data .
My process for performing security testing involves several steps.
To uncover this vulnerability, I developed a tool using NodeJS and tested it on LinkedIn. The tool quickly identified the reflected XSS vulnerability, which could potentially allow attackers to steal sensitive user information or execute unauthorized actions on the website.
After verifying the vulnerability, I decided to publish the tool as open source so that other cybersecurity enthusiasts could use it to identify similar vulnerabilities in other websites and applications.
Github Link : https://github.com/karthi-the-hacker/CVE-2021-31589
https://karthithehacker.com/blogs/linkedin-xss.html
In conclusion, the CVE-2021–31589 tool proved to be effective in identifying the reflected XSS vulnerability on LinkedIn, highlighting the importance of regular vulnerability testing and the need for developers to be aware of potential vulnerabilities in their applications. By sharing this tool as open source, I hope to contribute to the larger cybersecurity community and help secure online platforms for everyone.
Twitter: https://twitter.com/karthithehacker
Instagram: https://www.instagram.com/karthithehacker/
LinkedIn: https://www.linkedin.com/in/karthikeyan--v/
Website: https://www.karthithehacker.com/
Github : https://github.com/karthi-the-hacker/
npmjs: https://www.npmjs.com/~karthithehacker
Youtube: https://www.youtube.com/karthithehacker
Thank you