Risk Level | Number of Alerts |
---|---|
High
|
0
|
Medium
|
4
|
Low
|
4
|
Informational
|
5
|
False Positives:
|
0
|
For each step: result (Pass/Fail) - risk (of highest alert(s) for the step, if any).
Name | Risk Level | Number of Instances |
---|---|---|
Content Security Policy (CSP) Header Not Set | Medium | 3 |
Cross-Domain Misconfiguration | Medium | 9 |
Missing Anti-clickjacking Header | Medium | 1 |
Sub Resource Integrity Attribute Missing | Medium | 1 |
Insufficient Site Isolation Against Spectre Vulnerability | Low | 2 |
Permissions Policy Header Not Set | Low | 5 |
Strict-Transport-Security Header Not Set | Low | 9 |
X-Content-Type-Options Header Missing | Low | 7 |
Information Disclosure - Suspicious Comments | Informational | 4 |
Modern Web Application | Informational | 3 |
Re-examine Cache-control Directives | Informational | 3 |
Retrieved from Cache | Informational | 9 |
Storable and Cacheable Content | Informational | 8 |
Medium |
Content Security Policy (CSP) Header Not Set |
---|---|
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. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header.
|
Reference |
https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP
https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html https://www.w3.org/TR/CSP/ https://w3c.github.io/webappsec-csp/ https://web.dev/articles/csp https://caniuse.com/#feat=contentsecuritypolicy https://content-security-policy.com/ |
CWE Id | 693 |
WASC Id | 15 |
Plugin Id | 10038 |
Medium |
Cross-Domain Misconfiguration |
---|---|
Description |
Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/favicon.ico |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/static/css/main.f6c64be5.chunk.css |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | Access-Control-Allow-Origin: * |
Other Info | The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing. |
Instances | 9 |
Solution |
Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).
Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.
|
Reference | https://vulncat.fortify.com/en/detail?category=HTML5&subcategory=Overly%20Permissive%20CORS%20Policy |
CWE Id | 264 |
WASC Id | 14 |
Plugin Id | 10098 |
Medium |
Missing Anti-clickjacking Header |
---|---|
Description |
The response does not protect against 'ClickJacking' attacks. It should include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | x-frame-options |
Attack | |
Evidence | |
Other Info | |
Instances | 1 |
Solution |
Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.
If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Frame-Options |
CWE Id | 1021 |
WASC Id | 15 |
Plugin Id | 10020 |
Medium |
Sub Resource Integrity Attribute Missing |
---|---|
Description |
The integrity attribute is missing on a script or link tag served by an external server. The integrity tag prevents an attacker who have gained access to this server from injecting a malicious content.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500"> |
Other Info | |
Instances | 1 |
Solution |
Provide a valid integrity attribute to the tag.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity |
CWE Id | 345 |
WASC Id | 15 |
Plugin Id | 90003 |
Low |
Insufficient Site Isolation Against Spectre Vulnerability |
---|---|
Description |
Cross-Origin-Embedder-Policy header is a response header that prevents a document from loading any cross-origin resources that don't explicitly grant the document permission (using CORP or CORS).
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | Cross-Origin-Embedder-Policy |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com |
Method | GET |
Parameter | Cross-Origin-Opener-Policy |
Attack | |
Evidence | |
Other Info | |
Instances | 2 |
Solution |
Ensure that the application/web server sets the Cross-Origin-Embedder-Policy header appropriately, and that it sets the Cross-Origin-Embedder-Policy header to 'require-corp' for documents.
If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Embedder-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-embedder-policy).
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy |
CWE Id | 693 |
WASC Id | 14 |
Plugin Id | 90004 |
Low |
Permissions Policy Header Not Set |
---|---|
Description |
Permissions Policy Header is an added layer of security that helps to restrict from unauthorized access or usage of browser/client features by web resources. This policy ensures the user privacy by limiting or specifying the features of the browsers can be used by the web resources. Permissions Policy provides a set of standard HTTP headers that allow website owners to limit which features of browsers can be used by the page such as camera, microphone, location, full screen etc.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
Instances | 5 |
Solution |
Ensure that your web server, application server, load balancer, etc. is configured to set the Permissions-Policy header.
|
Reference |
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy
https://developer.chrome.com/blog/feature-policy/ https://scotthelme.co.uk/a-new-security-header-feature-policy/ https://w3c.github.io/webappsec-feature-policy/ https://www.smashingmagazine.com/2018/12/feature-policy/ |
CWE Id | 693 |
WASC Id | 15 |
Plugin Id | 10063 |
Low |
Strict-Transport-Security Header Not Set |
---|---|
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 (i.e. HTTP layered over TLS/SSL). HSTS is an IETF standards track protocol and is specified in RFC 6797.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/favicon.ico |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/static/css/main.f6c64be5.chunk.css |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
Instances | 9 |
Solution |
Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security.
|
Reference |
https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html
https://owasp.org/www-community/Security_Headers https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security https://caniuse.com/stricttransportsecurity https://datatracker.ietf.org/doc/html/rfc6797 |
CWE Id | 319 |
WASC Id | 15 |
Plugin Id | 10035 |
Low |
X-Content-Type-Options Header Missing |
---|---|
Description |
The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/favicon.ico |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/static/css/main.f6c64be5.chunk.css |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | x-content-type-options |
Attack | |
Evidence | |
Other Info | This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses. |
Instances | 7 |
Solution |
Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.
If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.
|
Reference |
https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/gg622941(v=vs.85)
https://owasp.org/www-community/Security_Headers |
CWE Id | 693 |
WASC Id | 15 |
Plugin Id | 10021 |
Informational |
Information Disclosure - Suspicious Comments |
---|---|
Description |
The response appears to contain suspicious comments which may help an attacker.
|
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | query |
Other Info | The following pattern was used: \bQUERY\b and was detected in likely comment: "// This script takes the current url and converts the path and query", see evidence field for the suspicious comment/snippet. |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | query |
Other Info | The following pattern was used: \bQUERY\b and was detected in likely comment: "// This script takes the current url and converts the path and query", see evidence field for the suspicious comment/snippet. |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | query |
Other Info | The following pattern was used: \bQUERY\b and was detected in likely comment: "//i],[v,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[d,T+", see evidence field for the suspicious comment/snippet. |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | user |
Other Info | The following pattern was used: \bUSER\b and was detected in likely comment: "//z/DQAImhgEGow4gywHLD2zON8gPeN+9dk4/pQ5gJDURzty2or513awGGP/RnH2MdAsBdMurAlMbKY4DUAgQg2dsXV4vm+z4H4anb1nWQKxefHhALSfKAbS0nKADaG0", see evidence field for the suspicious comment/snippet. |
Instances | 4 |
Solution |
Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.
|
Reference | |
CWE Id | 615 |
WASC Id | 13 |
Plugin Id | 10027 |
Informational |
Modern Web Application |
---|---|
Description |
The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | <script type="text/javascript">!function(n){if("/"===n.search[1]){var a=n.search.slice(1).split("&").map((function(n){return n.replace(/~and~/g,"&")})).join("?");window.history.replaceState(null,null,n.pathname.slice(0,-1)+a+n.hash)}}(window.location)</script> |
Other Info | No links have been found while there are scripts, which is an indication that this is a modern web application. |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | <script type="text/javascript"> // Single Page Apps for GitHub Pages // MIT License // https://github.com/rafgraph/spa-github-pages // This script takes the current url and converts the path and query // string into just a query string, and then redirects the browser // to the new url with only a query string and hash fragment, // e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes // https://www.foo.tld/?/one/two&a=b~and~c=d#qwe // Note: this 404.html file must be at least 512 bytes for it to work // with Internet Explorer (it is currently > 512 bytes) // If you're creating a Project Pages site and NOT using a custom domain, // then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1). // This way the code will only replace the route part of the path, and not // the real directory in which the app resides, for example: // https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes // https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe // Otherwise, leave pathSegmentsToKeep as 0. var pathSegmentsToKeep = 0; var l = window.location; // Don't redirect for these pages if(l.pathname.indexOf('v1') !== 1 && l.pathname.indexOf('storybook') !== 1){ l.replace( l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') + l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' + l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') + (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') + l.hash ); } </script> |
Other Info | No links have been found while there are scripts, which is an indication that this is a modern web application. |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | <script type="text/javascript"> // Single Page Apps for GitHub Pages // MIT License // https://github.com/rafgraph/spa-github-pages // This script takes the current url and converts the path and query // string into just a query string, and then redirects the browser // to the new url with only a query string and hash fragment, // e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes // https://www.foo.tld/?/one/two&a=b~and~c=d#qwe // Note: this 404.html file must be at least 512 bytes for it to work // with Internet Explorer (it is currently > 512 bytes) // If you're creating a Project Pages site and NOT using a custom domain, // then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1). // This way the code will only replace the route part of the path, and not // the real directory in which the app resides, for example: // https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes // https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe // Otherwise, leave pathSegmentsToKeep as 0. var pathSegmentsToKeep = 0; var l = window.location; // Don't redirect for these pages if(l.pathname.indexOf('v1') !== 1 && l.pathname.indexOf('storybook') !== 1){ l.replace( l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') + l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' + l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') + (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') + l.hash ); } </script> |
Other Info | No links have been found while there are scripts, which is an indication that this is a modern web application. |
Instances | 3 |
Solution |
This is an informational alert and so no changes are required.
|
Reference | |
CWE Id | |
WASC Id | |
Plugin Id | 10109 |
Informational |
Re-examine Cache-control Directives |
---|---|
Description |
The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content. For static assets like css, js, or image files this might be intended, however, the resources should be reviewed to ensure that no sensitive content will be cached.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | cache-control |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | cache-control |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | cache-control |
Attack | |
Evidence | max-age=600 |
Other Info | |
Instances | 3 |
Solution |
For secure content, ensure the cache-control HTTP header is set with "no-cache, no-store, must-revalidate". If an asset should be cached consider setting the directives "public, max-age, immutable".
|
Reference |
https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control https://grayduck.mn/2021/09/13/cache-control-recommendations/ |
CWE Id | 525 |
WASC Id | 13 |
Plugin Id | 10015 |
Informational |
Retrieved from Cache |
---|---|
Description |
The content was retrieved from a shared cache. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | HIT |
Other Info | |
URL | https://www.saucedemo.com/favicon.ico |
Method | GET |
Parameter | |
Attack | |
Evidence | HIT |
Other Info | |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | |
Attack | |
Evidence | HIT |
Other Info | |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
URL | https://www.saucedemo.com/static/css/main.f6c64be5.chunk.css |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | Age: 0 |
Other Info | The presence of the 'Age' header indicates that a HTTP/1.1 compliant caching server is in use. |
Instances | 9 |
Solution |
Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:
Cache-Control: no-cache, no-store, must-revalidate, private
Pragma: no-cache
Expires: 0
This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.
|
Reference |
https://datatracker.ietf.org/doc/html/rfc7234
https://datatracker.ietf.org/doc/html/rfc7231 https://www.rfc-editor.org/rfc/rfc9110.html |
CWE Id | 525 |
WASC Id | |
Plugin Id | 10050 |
Informational |
Storable and Cacheable Content |
---|---|
Description |
The response contents are storable by caching components such as proxy servers, and may be retrieved directly from the cache, rather than from the origin server by the caching servers, in response to similar requests from other users. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where "shared" caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.
|
URL | https://www.saucedemo.com |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/icon/icon-192x192.png |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234. |
URL | https://www.saucedemo.com/manifest.json |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/robots.txt |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/sitemap.xml |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | In the absence of an explicitly specified caching lifetime directive in the response, a liberal lifetime heuristic of 1 year was assumed. This is permitted by rfc7234. |
URL | https://www.saucedemo.com/static/css/main.f6c64be5.chunk.css |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/static/js/2.84a5cbf3.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
URL | https://www.saucedemo.com/static/js/main.018d2d1e.chunk.js |
Method | GET |
Parameter | |
Attack | |
Evidence | max-age=600 |
Other Info | |
Instances | 8 |
Solution |
Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:
Cache-Control: no-cache, no-store, must-revalidate, private
Pragma: no-cache
Expires: 0
This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.
|
Reference |
https://datatracker.ietf.org/doc/html/rfc7234
https://datatracker.ietf.org/doc/html/rfc7231 https://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html |
CWE Id | 524 |
WASC Id | 13 |
Plugin Id | 10049 |