Risk Level | Number of Alerts |
---|---|
High
|
0
|
Medium
|
1
|
Low
|
4
|
Informational
|
9
|
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 | 1 |
Cookie No HttpOnly Flag | Low | 1 |
Insufficient Site Isolation Against Spectre Vulnerability | Low | 3 |
Permissions Policy Header Not Set | Low | 1 |
Strict-Transport-Security Header Not Set | Low | 3 |
Base64 Disclosure | Informational | 1 |
Information Disclosure - Suspicious Comments | Informational | 1 |
Re-examine Cache-control Directives | Informational | 1 |
Sec-Fetch-Dest Header is Missing | Informational | 3 |
Sec-Fetch-Mode Header is Missing | Informational | 3 |
Sec-Fetch-Site Header is Missing | Informational | 3 |
Sec-Fetch-User Header is Missing | Informational | 3 |
Session Management Response Identified | Informational | 1 |
Storable and Cacheable Content | Informational | 3 |
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://partaj.beta.gouv.fr |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
Instances | 1 |
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/Security/CSP/Introducing_Content_Security_Policy
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 |
Low |
Cookie No HttpOnly Flag |
---|---|
Description |
A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | csrftoken |
Attack | |
Evidence | Set-Cookie: csrftoken |
Other Info | |
Instances | 1 |
Solution |
Ensure that the HttpOnly flag is set for all cookies.
|
Reference | https://owasp.org/www-community/HttpOnly |
CWE Id | 1004 |
WASC Id | 13 |
Plugin Id | 10010 |
Low |
Insufficient Site Isolation Against Spectre Vulnerability |
---|---|
Description |
Cross-Origin-Resource-Policy header is an opt-in header designed to counter side-channels attacks like Spectre. Resource should be specifically set as shareable amongst different origins.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Cross-Origin-Resource-Policy |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Cross-Origin-Embedder-Policy |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Cross-Origin-Opener-Policy |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that the application/web server sets the Cross-Origin-Resource-Policy header appropriately, and that it sets the Cross-Origin-Resource-Policy header to 'same-origin' for all web pages.
'same-site' is considered as less secured and should be avoided.
If resources must be shared, set the header to 'cross-origin'.
If possible, ensure that the end user uses a standards-compliant and modern web browser that supports the Cross-Origin-Resource-Policy header (https://caniuse.com/mdn-http_headers_cross-origin-resource-policy).
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Cross-Origin_Resource_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://partaj.beta.gouv.fr |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
Instances | 1 |
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/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://partaj.beta.gouv.fr |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/robots.txt |
Method | GET |
Parameter | |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/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 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 |
Informational |
Base64 Disclosure |
---|---|
Description |
Base64 encoded data was disclosed by the application/web server. Note: in the interests of performance not all base64 strings in the response were analyzed individually, the entire response should be looked at by the analyst/security team/developer(s).
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | |
Attack | |
Evidence | JUhUWBho55PnR8LVzN4YiVVAGLMc5LBVGRz2hmlHgWwX1RGzwHKxNZGAuPAXfUcM |
Other Info | %HTXh��G�����U@��U��iG�l���r�5����}G |
Instances | 1 |
Solution |
Manually confirm that the Base64 data does not leak sensitive information, and that the data cannot be aggregated/used to exploit other vulnerabilities.
|
Reference | https://projects.webappsec.org/w/page/13246936/Information%20Leakage |
CWE Id | 319 |
WASC Id | 13 |
Plugin Id | 10094 |
Informational |
Information Disclosure - Suspicious Comments |
---|---|
Description |
The response appears to contain suspicious comments which may help an attacker.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | |
Attack | |
Evidence | where |
Other Info | The following pattern was used: \bWHERE\b and was detected in likely comment: "<!-- Fix a nasty issue in Safari where it is impossible to make a table-row into a containing block. When we then stretch ", see evidence field for the suspicious comment/snippet. |
Instances | 1 |
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 |
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://partaj.beta.gouv.fr |
Method | GET |
Parameter | cache-control |
Attack | |
Evidence | |
Other Info | |
Instances | 1 |
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/Headers/Cache-Control https://grayduck.mn/2021/09/13/cache-control-recommendations/ |
CWE Id | 525 |
WASC Id | 13 |
Plugin Id | 10015 |
Informational |
Sec-Fetch-Dest Header is Missing |
---|---|
Description |
Specifies how and where the data would be used. For instance, if the value is audio, then the requested resource must be audio data and not any other type of resource.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Sec-Fetch-Dest |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/robots.txt |
Method | GET |
Parameter | Sec-Fetch-Dest |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/sitemap.xml |
Method | GET |
Parameter | Sec-Fetch-Dest |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that Sec-Fetch-Dest header is included in request headers.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest |
CWE Id | 352 |
WASC Id | 9 |
Plugin Id | 90005 |
Informational |
Sec-Fetch-Mode Header is Missing |
---|---|
Description |
Allows to differentiate between requests for navigating between HTML pages and requests for loading resources like images, audio etc.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Sec-Fetch-Mode |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/robots.txt |
Method | GET |
Parameter | Sec-Fetch-Mode |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/sitemap.xml |
Method | GET |
Parameter | Sec-Fetch-Mode |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that Sec-Fetch-Mode header is included in request headers.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode |
CWE Id | 352 |
WASC Id | 9 |
Plugin Id | 90005 |
Informational |
Sec-Fetch-Site Header is Missing |
---|---|
Description |
Specifies the relationship between request initiator's origin and target's origin.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Sec-Fetch-Site |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/robots.txt |
Method | GET |
Parameter | Sec-Fetch-Site |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/sitemap.xml |
Method | GET |
Parameter | Sec-Fetch-Site |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that Sec-Fetch-Site header is included in request headers.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site |
CWE Id | 352 |
WASC Id | 9 |
Plugin Id | 90005 |
Informational |
Sec-Fetch-User Header is Missing |
---|---|
Description |
Specifies if a navigation request was initiated by a user.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | Sec-Fetch-User |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/robots.txt |
Method | GET |
Parameter | Sec-Fetch-User |
Attack | |
Evidence | |
Other Info | |
URL | https://partaj.beta.gouv.fr/sitemap.xml |
Method | GET |
Parameter | Sec-Fetch-User |
Attack | |
Evidence | |
Other Info | |
Instances | 3 |
Solution |
Ensure that Sec-Fetch-User header is included in user initiated requests.
|
Reference | https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User |
CWE Id | 352 |
WASC Id | 9 |
Plugin Id | 90005 |
Informational |
Session Management Response Identified |
---|---|
Description |
The given response has been identified as containing a session management token. The 'Other Info' field contains a set of header tokens that can be used in the Header Based Session Management Method. If the request is in a context which has a Session Management Method set to "Auto-Detect" then this rule will change the session management to use the tokens identified.
|
URL | https://partaj.beta.gouv.fr |
Method | GET |
Parameter | csrftoken |
Attack | |
Evidence | JUhUWBho55PnR8LVzN4YiVVAGLMc5LBVGRz2hmlHgWwX1RGzwHKxNZGAuPAXfUcM |
Other Info | cookie:csrftoken |
Instances | 1 |
Solution |
This is an informational alert rather than a vulnerability and so there is nothing to fix.
|
Reference | https://www.zaproxy.org/docs/desktop/addons/authentication-helper/session-mgmt-id |
CWE Id | |
WASC Id | |
Plugin Id | 10112 |
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://partaj.beta.gouv.fr |
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://partaj.beta.gouv.fr/robots.txt |
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://partaj.beta.gouv.fr/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. |
Instances | 3 |
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 |