owasp-guidelines
Last modified by Kyle Hill on 2025/08/25 11:16
Vulnerability Fortification
Anti-CSRF Tokens
| Severity | Medium |
| Description | A cross-site request forgery is an attack that involves forcing a victim to send an HTTP request to a target destination without their knowledge or intent in order to perform an action as the victim |
| Mitigation | Generate a unique nonce or token when rendering the form and store it securely on the server. When the form is submitted, validate that the token included in the request matches the one previously generated and stored |
Implemented? | ✅ |
| Comments | Previous findings have suggested that the CSRF token was not present on the login form. This has since been remedied. Pull Request |
Vulnerable Libraries
| Severity | Medium |
| Description | The identified libraries appears to be vulnerable |
| Mitigation | Upgrade to the latest version of the affected library |
Implemented? | ✅ |
| Comments | The library which was flagged was jQuery 3.0.0. This has since been remedied |
Anti-clickjacking Header
| Severity | Medium |
| Description | Clickjacking is the act of embedding legitimate content inside a hidden or transparent frame in order to trick a user into clicking on something different from what they perceive |
| Mitigation | Set Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options |
Implemented? | ✅ |
| Comments | Required headers have been set in the web.config file of the project |
Content-Security-Policy (CSP) Header
| Severity | Medium |
| Description | Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks but specifying a list of sources from which to load application files |
| Mitigation | Declare approved sources of content that browsers should be allowed to load on that page using the Content-Security-Policy header |
Implemented? | ✅ |
| Comments | Required header has been set in the web.config file of the project |
Cross-Domain Java Script Source File Inclusion
| Severity | Low |
| Description | The page includes one or more script files from a third-party domain |
| Mitigation | Ensure JavaScript source files are loaded from only trusted sources, and the sources can't be controlled by end users of the application |
Implemented? | ✅ |
| Comments | Strict-Content-Policy has been updated in the web.config of the project, to include third-party scripts such as Google reCAPTCHA which was previously flag in security audits. |
X-Content-Type-Options Header
| Severity | Low |
| Description | This header is a security control that tells browsers not to determine the MIME type from a response and instead to strictly follow the declared Content-Type |
| Mitigation | Include the header X-Content-Type-Options and set the value to NOSNIFF |
Implemented? | ✅ |
| Comments | Required header has been set in the web.config file of the project |
Cookie Without Secure Flag
| Severity | Low |
| Description | A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections |
| Mitigation | Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure that the secure flag is set for cookies containing such sensitive information |
Implemented? | ✅ |
| Comments | Configuration updated to ensure all cookies created by the site are set to secure |
Environment Information Leak
| Severity | Low |
| Description | The web/application server is leaking information via one or more HTTP response headers |
| Mitigation | Ensure that your web server, application server, load balancer, etc. is configured to suppress headers |
Implemented? | ✅ |
| Comments | Required header(s) have been set to be removed in the web.config file of the project (X-Powered-By, Server) |
Unsupported Application Versions
| Severity | Low |
| Description | This website uses ASP.NET version 1.0 or 1.1 |
| Mitigation | Ensure the engaged framework is still supported by Microsoft or do an upgrade |
Implemented? | ✅ |
| Comments | Target Framework is currently set to 4.7.2. Version 4.7.2 and later ensures that newly created cookies have 'Lax' as the default value for the 'SameSite' property |
Big Redirect Detected
| Severity | Low |
| Description | The server has responded with a redirect that seems to provide a large response. This may indicate that although the server sent a redirect it also responded with body content |
| Mitigation | Ensure that no sensitive information is leaked via redirect responses. Redirect responses should have almost no content |
Implemented? | ✅ |
| Comments |
Strict-Transport-Security Header
| Severity | Low |
| Description | HTTP Strict Transport Security (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections |
| Mitigation | Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security |
Implemented? | ✅ |
| Comments | Required header has been set in the web.config file of the project |
Cookie Without Same Site Attribute
| Severity | Low |
| Description | A cookie has been set without the SameSite attribute, which means that the cookie can be sent as a result of a 'cross-site' request. The SameSite attribute is an effective counter measure to cross-site request forgery, cross-site script inclusion, and timing attacks |
| Mitigation | Ensure that the SameSite attribute is set to either 'lax' or ideally 'strict' for all cookies |
Implemented? | ✅ |
| Comments | All cookies created by the application are set using either lax or strict |