Skip to content

Security Remediation: Sensitive cookie missing HttpOnly/Secure flags#5

Open
nightvision-pr-creator[bot] wants to merge 1 commit intomainfrom
fix/issue-remediation-f504ae09-cd82-4016-86d4-29f389aaba63
Open

Security Remediation: Sensitive cookie missing HttpOnly/Secure flags#5
nightvision-pr-creator[bot] wants to merge 1 commit intomainfrom
fix/issue-remediation-f504ae09-cd82-4016-86d4-29f389aaba63

Conversation

@nightvision-pr-creator
Copy link

The endpoint '/login-code' sets a sensitive authentication-related cookie ('XLOGINID') without the 'HttpOnly' or 'Secure' flags. This makes the session-related identifier accessible to client-side scripts, increasing the risk of session hijacking via Cross-Site Scripting (XSS).

  • Severity: MEDIUM

  • Type: Security Misconfiguration

  • Category: information_disclosure

  • Fix Applied: Updated file: src/main/java/hawk/controller/LoginController.java

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants