Skip to content

Stored_XSS @ download_id_union.jsp #88

@juegge

Description

@juegge

Stored_XSS issue exists @ download_id_union.jsp in branch master

The application's download_id_union embeds untrusted data in the generated output with write, at line 45 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. This untrusted data is embedded straight into the output without proper sanitization or encoding, enabling an attacker to inject malicious code into the output.

The attacker would be able to alter the returned web page by saving malicious data in a data-store ahead of time. The attacker's modified data is then read from the database by the download_id_union method with byteBuffer, at line 43 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. This untrusted data then flows through the code straight to the output web page, without sanitization. 

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

Namespace: jvlstuff
Repository: JavaVulnerableLab_for_AST
Repository Url: https://github.com/jvlstuff/JavaVulnerableLab_for_AST
CxAST-Project: jvlstuff/JavaVulnerableLab_for_AST
CxAST platform scan: 0b64039c-d08f-4faa-9e25-fb3006178c74
Branch: master
Application: JavaVulnerableLab_for_AST
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
CWE: 79
Lines: 43


References
Read more

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions