Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflected_XSS_All_Clients @ LDAPInjectionController.java #40

Closed
AaronZhouYu opened this issue Feb 7, 2023 · 0 comments
Closed

Reflected_XSS_All_Clients @ LDAPInjectionController.java #40

AaronZhouYu opened this issue Feb 7, 2023 · 0 comments

Comments

@AaronZhouYu
Copy link
Owner

Reflected_XSS_All_Clients issue exists @ LDAPInjectionController.java in branch main

The method doGet embeds untrusted data in generated output with mav, at line 32 of /src/main/java/org/t246osslab/easybuggy4sb/vulnerabilities/CSRFController.java. This untrusted data is embedded into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the generated web-page.

The attacker would be able to alter the returned web page by simply providing modified data in the user input req, which is read by the doPost method at line 35 of /src/main/java/org/t246osslab/easybuggy4sb/vulnerabilities/LDAPInjectionController.java. This input then flows through the code straight to the output web page, without sanitization. 

This can enable a Reflected Cross-Site Scripting (XSS) attack.

Namespace: AaronZhouYu
Repository: TotallySecureApp
Repository Url: https://github.com/AaronZhouYu/TotallySecureApp
CxAST-Project: AaronZhouYu/TotallySecureApp
CxAST platform scan: 044c3806-8e67-4c10-99a5-5e39d680a811
Branch: main
Application: TotallySecureApp
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
CWE: 79
Lines: 27 35


References
Read more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant