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

added "httponly" for cookie affinity #251

Merged
merged 1 commit into from
Nov 9, 2018
Merged

added "httponly" for cookie affinity #251

merged 1 commit into from
Nov 9, 2018

Conversation

vlaza
Copy link
Contributor

@vlaza vlaza commented Nov 8, 2018

Summary
The application is missing the 'httpOnly' cookie attribute

Vulnerability Detection Result
The cookies:

Set-Cookie: JSESSIONID=lGbJl57jz/c=; path=/

are missing the "httpOnly" attribute.
Solution
Solution type: Mitigation Mitigation

Set the 'httpOnly' attribute for any session cookie.

Affected Software/OS
Application with session handling in cookies.

Vulnerability Insight
The flaw is due to a cookie is not using the 'httpOnly' attribute. This allows a cookie to be accessed by JavaScript which could lead to session hijacking attacks.

Vulnerability Detection Method
Check all cookies sent by the application for a missing 'httpOnly' attribute

Details: Missing httpOnly Cookie Attribute (OID: 1.3.6.1.4.1.25623.1.0.105925)

Version used: $Revision: 5270 $

References
Other: https://www.owasp.org/index.php/HttpOnly
https://www.owasp.org/index.php/Testing_for_cookies_attributes_(OTG-SESS-002)

Summary
The application is missing the 'httpOnly' cookie attribute

Vulnerability Detection Result
The cookies:

Set-Cookie: JSESSIONID=lGbJl57jz/c=; path=/ 

are missing the "httpOnly" attribute.
Solution
Solution type: Mitigation Mitigation

Set the 'httpOnly' attribute for any session cookie.

Affected Software/OS
Application with session handling in cookies.

Vulnerability Insight
The flaw is due to a cookie is not using the 'httpOnly' attribute. This allows a cookie to be accessed by JavaScript which could lead to session hijacking attacks.

Vulnerability Detection Method
Check all cookies sent by the application for a missing 'httpOnly' attribute

Details: Missing `httpOnly` Cookie Attribute (OID: 1.3.6.1.4.1.25623.1.0.105925)

Version used: $Revision: 5270 $

References
Other:	https://www.owasp.org/index.php/HttpOnly
https://www.owasp.org/index.php/Testing_for_cookies_attributes_(OTG-SESS-002)
@vlaza
Copy link
Contributor Author

vlaza commented Nov 8, 2018

/add jcmoraisjr

@jcmoraisjr
Copy link
Owner

Thanks! Merging on v0.6-beta.

Note that although this is indeed a welcome change, this only patches the HAProxy generated cookie used to identify the backend of a sticky session config.

@jcmoraisjr jcmoraisjr merged commit 54e261a into jcmoraisjr:release-0.6 Nov 9, 2018
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.

2 participants