ZAP Scanning Report

Site: https://mon-suivi-justice.beta.gouv.fr

Generated on Sun, 1 Jun 2025 08:39:47

ZAP Version: 2.16.1

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
0
Medium
3
Low
7
Informational
10
False Positives:
0

Summary of Sequences

For each step: result (Pass/Fail) - risk (of highest alert(s) for the step, if any).

Alerts

Name Risk Level Number of Instances
Absence of Anti-CSRF Tokens Medium 1
Content Security Policy (CSP) Header Not Set Medium 1
Sub Resource Integrity Attribute Missing Medium 2
Cookie No HttpOnly Flag Low 1
Cookie Without Secure Flag Low 2
Cookie without SameSite Attribute Low 2
Insufficient Site Isolation Against Spectre Vulnerability Low 3
Permissions Policy Header Not Set Low 1
Strict-Transport-Security Header Not Set Low 3
Timestamp Disclosure - Unix Low 2
Base64 Disclosure Informational 1
Modern Web Application Informational 1
Re-examine Cache-control Directives Informational 1
Retrieved from Cache 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 4

Alert Detail

Medium
Absence of Anti-CSRF Tokens
Description
No Anti-CSRF tokens were found in a HTML submission form.

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. The underlying cause is application functionality using predictable URL/form actions in a repeatable way. The nature of the attack is that CSRF exploits the trust that a web site has for a user. By contrast, cross-site scripting (XSS) exploits the trust that a user has for a web site. Like XSS, CSRF attacks are not necessarily cross-site, but they can be. Cross-site request forgery is also known as CSRF, XSRF, one-click attack, session riding, confused deputy, and sea surf.

CSRF attacks are effective in a number of situations, including:

* The victim has an active session on the target site.

* The victim is authenticated via HTTP auth on the target site.

* The victim is on the same local network as the target site.

CSRF has primarily been used to perform an action against a target site using the victim's privileges, but recent techniques have been discovered to disclose information by gaining access to the response. The risk of information disclosure is dramatically increased when the target site is vulnerable to XSS, because XSS can be used as a platform for CSRF, allowing the attack to operate within the bounds of the same-origin policy.
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <form action="/recherche/all/" method="post" id="portalis-search-form" accept-charset="UTF-8">
Other Info No known Anti-CSRF token [anticsrf, CSRFToken, __RequestVerificationToken, csrfmiddlewaretoken, authenticity_token, OWASP_CSRFTOKEN, anoncsrf, csrf_token, _csrf, _csrfSecret, __csrf_magic, CSRF, _token, _csrf_token, _csrfToken] was found in the following HTML form: [Form 1: "edit-search-terms" "form_build_id" "form_id" ].
Instances 1
Solution
Phase: Architecture and Design

Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

For example, use anti-CSRF packages such as the OWASP CSRFGuard.

Phase: Implementation

Ensure that your application is free of cross-site scripting issues, because most CSRF defenses can be bypassed using attacker-controlled script.

Phase: Architecture and Design

Generate a unique nonce for each form, place the nonce into the form, and verify the nonce upon receipt of the form. Be sure that the nonce is not predictable (CWE-330).

Note that this can be bypassed using XSS.

Identify especially dangerous operations. When the user performs a dangerous operation, send a separate confirmation request to ensure that the user intended to perform that operation.

Note that this can be bypassed using XSS.

Use the ESAPI Session Management control.

This control includes a component for CSRF.

Do not use the GET method for any request that triggers a state change.

Phase: Implementation

Check the HTTP Referer header to see if the request originated from an expected page. This could break legitimate functionality, because users or proxies may have disabled sending the Referer for privacy reasons.
Reference https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html
https://cwe.mitre.org/data/definitions/352.html
CWE Id 352
WASC Id 9
Plugin Id 10202
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://mon-suivi-justice.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
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <link rel="shortcut icon" href="https://www.justice.fr/sites/all/themes/portalis_theme/favicon.ico" type="image/vnd.microsoft.icon" />
Other Info
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <link rel="shortlink" href="https://www.justice.fr/mon-suivi-justice" />
Other Info
Instances 2
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
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter TS01ffdb6c
Attack
Evidence Set-Cookie: TS01ffdb6c
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
Cookie Without Secure Flag
Description
A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter BIGipServer34MTuypDk3zboBHeznTQiA
Attack
Evidence Set-Cookie: BIGipServer34MTuypDk3zboBHeznTQiA
Other Info
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter TS01ffdb6c
Attack
Evidence Set-Cookie: TS01ffdb6c
Other Info
Instances 2
Solution
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.
Reference https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/06-Session_Management_Testing/02-Testing_for_Cookies_Attributes.html
CWE Id 614
WASC Id 13
Plugin Id 10011
Low
Cookie without SameSite Attribute
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.
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter BIGipServer34MTuypDk3zboBHeznTQiA
Attack
Evidence Set-Cookie: BIGipServer34MTuypDk3zboBHeznTQiA
Other Info
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter TS01ffdb6c
Attack
Evidence Set-Cookie: TS01ffdb6c
Other Info
Instances 2
Solution
Ensure that the SameSite attribute is set to either 'lax' or ideally 'strict' for all cookies.
Reference https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site
CWE Id 1275
WASC Id 13
Plugin Id 10054
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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
Low
Timestamp Disclosure - Unix
Description
A timestamp was disclosed by the application/web server. - Unix
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence 1727172203
Other Info 1727172203, which evaluates to: 2024-09-24 10:03:23.
URL https://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter X-Drupal-Cache-Timestamp
Attack
Evidence 1747994318
Other Info 1747994318, which evaluates to: 2025-05-23 09:58:38.
Instances 2
Solution
Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.
Reference https://cwe.mitre.org/data/definitions/200.html
CWE Id 497
WASC Id 13
Plugin Id 10096
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence fEwI0vf6rAgOlftVKzUhnSD7hGyZI2PkuRC19yM4EoR1SHsgdcxqaQ9pQYkXWQO9Aiv3q6WfH4YmaA==
Other Info |L������U+5!� ��l�#c���#8�uH{ u�jiiA�Y�+�����&h
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
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <a id="alerte-enl_banniere" class="alerte-enl_hidden"title = "Cliquez ici pour plus d'informations" ></a>
Other Info Links have been found that do not have traditional href attributes, which is an indication that this is a modern web application.
Instances 1
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter cache-control
Attack
Evidence public, max-age=86400
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
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence HIT
Other Info
Instances 1
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://tools.ietf.org/html/rfc7234
https://tools.ietf.org/html/rfc7231
https://www.rfc-editor.org/rfc/rfc9110.html
CWE Id
WASC Id
Plugin Id 10050
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://mon-suivi-justice.beta.gouv.fr/robots.txt
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter BIGipServer34MTuypDk3zboBHeznTQiA
Attack
Evidence !fEwI0vf6rAgOlftVKzUhnSD7hGyZI2PkuRC19yM4EoR1SHsgdcxqaQ9pQYkXWQO9Aiv3q6WfH4YmaA==
Other Info cookie:BIGipServer34MTuypDk3zboBHeznTQiA cookie:TS01ffdb6c
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://mon-suivi-justice.beta.gouv.fr
Method GET
Parameter
Attack
Evidence max-age=86400
Other Info
URL https://mon-suivi-justice.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://mon-suivi-justice.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://mon-suivi-justice.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 4
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

Sequence Details

With the associated active scan results.