Skip to content

Log_Forging @ /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java #1130

@AASMACMX

Description

@AASMACMX

Log_Forging issue exists @ LabelService.java in branch main

Method fetchLabels at line 81 of /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java gets user input from element lang. This element’s value flows through the code without being properly sanitized or validated, and is eventually used in writing an audit log in fetchLabels at line 85 of /webgoat-container/src/main/java/org/owasp/webgoat/service/LabelService.java.

This may enable Log Forging.

Namespace: CxDemoInABoxRepos
Repository: Java-Webgoat
Repository Url: https://github.com/CxDemoInABoxRepos/Java-Webgoat
CxAST-Project: CxDemoInABoxRepos/Java-Webgoat
CxAST platform scan: 466e73ae-3cc9-415a-8383-b7e20e1af3be
Branch: main
Application: Java-Webgoat
Severity: LOW
State: TO_VERIFY
Status: RECURRENT
CWE: 117
Lines: 81


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