CodeAstro Online Railway Reservation System 1.0 Cross Site Scripting (XSS)
在线铁路预订系统1.0版本中发现跨站脚本(XSS)漏洞,允许攻击者注入并执行任意JavaScript代码,窃取用户浏览器会话信息如cookie。修复建议包括对所有用户输入进行过滤和验证。 2025-4-16 21:38:7 Author: cxsecurity.com(查看原文) 阅读量:5 收藏

# Exploit Title: XSS Vulnerability in Online Railway Reservation System 1.0 # Date: 2024-08-15 # Exploit Author: Raj Nandi # Vendor Homepage: https://codeastro.com/ # Software Link: https://codeastro.com/online-railway-reservation-system-in-php-with-source-code/ # Version: 1.0 # Tested on: Any OS # CVE: CVE-2024-7815 ## Description: A Cross-Site Scripting (XSS) vulnerability exists in [Application Name/Version]. This vulnerability allows an attacker to inject and execute arbitrary JavaScript code within the context of the user's browser session. ## Proof of Concept (PoC): 1. Navigate to [vulnerable page or input field]. 2. Input the following payload: `<script>alert(document.cookie)</script>` 3. Upon execution, the script will trigger and display the user's cookies in an alert box. ## Mitigation: To prevent this vulnerability, ensure that all user inputs are properly sanitized and validated before being reflected back on the webpage.



 

Thanks for you comment!
Your message is in quarantine 48 hours.


文章来源: https://cxsecurity.com/issue/WLB-2025040025
如有侵权请联系:admin#unsafe.sh