ZAP Scanning Report

Site: https://api.apprentissage.beta.gouv.fr

Generated on Sun, 29 Jun 2025 02:14:37

ZAP Version: 2.16.1

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
0
Medium
5
Low
8
Informational
12
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
CSP: Failure to Define Directive with No Fallback Medium 3
CSP: Wildcard Directive Medium 3
CSP: script-src unsafe-inline Medium 3
CSP: style-src unsafe-inline Medium 3
Cross-Domain Misconfiguration Medium 1
CSP: Notices Low 3
Cookie No HttpOnly Flag Low 12
Dangerous JS Functions Low 1
Insufficient Site Isolation Against Spectre Vulnerability Low 13
Permissions Policy Header Not Set Low 12
Private IP Disclosure Low 1
Strict-Transport-Security Header Not Set Low 1
X-Content-Type-Options Header Missing Low 1
Base64 Disclosure Informational 12
Content-Type Header Missing Informational 14
Information Disclosure - Suspicious Comments Informational 12
Modern Web Application Informational 12
Non-Storable Content Informational 11
Re-examine Cache-control Directives Informational 2
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
Storable and Cacheable Content Informational 1
Storable but Non-Cacheable Content Informational 1

Alert Detail

Medium
CSP: Failure to Define Directive with No Fallback
Description
The Content Security Policy fails to define one of the directives that has no fallback. Missing/excluding them is the same as allowing anything.
URL https://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj' 'strict-dynamic';
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj' 'strict-dynamic';
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1' 'strict-dynamic';
Other Info The directive(s): form-action is/are among the directives that do not fallback to default-src.
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
Medium
CSP: Wildcard Directive
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) 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://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj' 'strict-dynamic';
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj' 'strict-dynamic';
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1' 'strict-dynamic';
Other Info The following directives either allow wildcard sources (or ancestors), are not defined, or are overly broadly defined: style-src, font-src
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
Medium
CSP: script-src unsafe-inline
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) 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://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj' 'strict-dynamic';
Other Info script-src includes unsafe-inline.
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj' 'strict-dynamic';
Other Info script-src includes unsafe-inline.
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1' 'strict-dynamic';
Other Info script-src includes unsafe-inline.
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
Medium
CSP: style-src unsafe-inline
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) 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://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj' 'strict-dynamic';
Other Info style-src includes unsafe-inline.
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj' 'strict-dynamic';
Other Info style-src includes unsafe-inline.
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1' 'strict-dynamic';
Other Info style-src includes unsafe-inline.
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
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://api.apprentissage.beta.gouv.fr/js/script.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 1
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?id=desc.config.dotnet.html5_overly_permissive_cors_policy
CWE Id 264
WASC Id 14
Plugin Id 10098
Low
CSP: Notices
Description
Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks. Including (but not limited to) 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://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj' 'strict-dynamic';
Other Info Warnings: Duplicate scheme https:
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj' 'strict-dynamic';
Other Info Warnings: Duplicate scheme https:
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter content-security-policy
Attack
Evidence default-src 'self' https://plausible.io; base-uri 'self'; block-all-mixed-content; font-src 'self' https: data:; frame-ancestors 'self'; frame-src 'self' https://plausible.io; img-src 'self' https://cdn.redoc.ly https://www.notion.so data: ; object-src 'none'; script-src 'self' https://plausible.io 'unsafe-inline' ; script-src-attr 'none'; style-src 'self' https: https: *.plausible.io 'unsafe-inline'; connect-src 'self' https://geo.api.gouv.fr/ https://plausible.io https://sentry.apprentissage.beta.gouv.fr ; upgrade-insecure-requests; worker-src 'self' 'nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1' 'strict-dynamic';
Other Info Warnings: Duplicate scheme https:
Instances 3
Solution
Ensure that your web server, application server, load balancer, etc. is properly configured to set the Content-Security-Policy header.
Reference https://www.w3.org/TR/CSP/
https://caniuse.com/#search=content+security+policy
https://content-security-policy.com/
https://github.com/HtmlUnit/htmlunit-csp
https://developers.google.com/web/fundamentals/security/csp#policy_applies_to_a_wide_variety_of_resources
CWE Id 693
WASC Id 15
Plugin Id 10055
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique/try
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/explorer
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/explorer/certifications
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique/try
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-commune
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre
Method GET
Parameter i18n-locale
Attack
Evidence set-cookie: i18n-locale
Other Info
Instances 12
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
Dangerous JS Functions
Description
A dangerous JS function seems to be in use that would leave the site vulnerable.
URL https://api.apprentissage.beta.gouv.fr/_next/static/chunks/606-811fda6019eae96d.js
Method GET
Parameter
Attack
Evidence eval(
Other Info
Instances 1
Solution
See the references for security advice on the use of these functions.
Reference https://angular.io/guide/security
CWE Id 749
WASC Id
Plugin Id 10110
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/robots.txt
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
Instances 13
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique/try
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/en/explorer
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique/try
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/certifications
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-commune
Method GET
Parameter
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence
Other Info
Instances 12
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
Private IP Disclosure
Description
A private IP (such as 10.x.x.x, 172.x.x.x, 192.168.x.x) or an Amazon EC2 private hostname (for example, ip-10-0-56-78) has been found in the HTTP response body. This information might be helpful for further attacks targeting internal systems.
URL https://api.apprentissage.beta.gouv.fr/_next/static/chunks/4552-97796931d4d6c47a.js
Method GET
Parameter
Attack
Evidence 192.168.0.1
Other Info 192.168.0.1
Instances 1
Solution
Remove the private IP address from the HTTP response body. For comments, use JSP/ASP/PHP comment instead of HTML/JavaScript comment which can be seen by client browsers.
Reference https://tools.ietf.org/html/rfc1918
CWE Id 497
WASC Id 13
Plugin Id 2
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://api.apprentissage.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
Instances 1
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://api.apprentissage.beta.gouv.fr/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.
Instances 1
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
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence nonce-YTRmMGY0NGMtOGIxOS00MDdmLWE1YzctMDc4Yjc3MDQxZGNj
Other Info ���{�FccCF2ӆ#��Cvb�V3r�s�#ssCF6
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter
Attack
Evidence nonce-YjA0ZjdlZGYtNDM0Ny00OGMyLThlOWItNzY5ZTlhNzZjNzFj
Other Info ���{�#FcvVFb�C3Cr�C�3"ӆS�"�sc�S�sf3s
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter
Attack
Evidence nonce-OGFhZjRiMTEtMDVlMC00OWY1LWFhNzAtYTJhNDY2N2Q3NjBl
Other Info ���{�cF#�VS�C�cR�s�&CccvCsc
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique/try
Method GET
Parameter
Attack
Evidence nonce-YjZhYzgzMWEtYzdlNi00NmJjLTg4NGItMDYxMjNhYTRmN2Y2
Other Info ���{�#f3�3�3vSb�Cf&2Ӄ�F"�c#6Fcvc
URL https://api.apprentissage.beta.gouv.fr/en/explorer
Method GET
Parameter
Attack
Evidence nonce-N2YzOWE3MzMtMTc5ZC00ZTVhLWJkYTktN2VlOTk4YjhhZDdh
Other Info ���{�vc3�s32�s�B�FSV�&F��vVS���#�Cv
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter
Attack
Evidence nonce-NjI0NjlmMzAtZjkwMy00YjQwLThhYjItYjZhZjFhYzVhZGI1
Other Info ���{�c#Cc�c3�c�2�F#Cӆ#"�#fc3VF#
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter
Attack
Evidence nonce-MmY5MGVmY2EtOTZhNS00NWIzLWFiNWYtNDAwOGFhZDUwYTMz
Other Info ���{�&c�Vf6ӓfR�CV#2�#Vb�C�CS3
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique/try
Method GET
Parameter
Attack
Evidence nonce-ZjBjYzUzZDktZmU4Ni00N2QyLWI2NTMtZjgyOWU0OTVkYjNm
Other Info ���{�c63S6C��fS�b�CvC"�#cS2�c�#�SC�VF#6
URL https://api.apprentissage.beta.gouv.fr/fr/explorer
Method GET
Parameter
Attack
Evidence nonce-OWFkNjNiMDktOWEyMS00NDQ4LTljM2UtYThjMGZjZWQyMDcw
Other Info ���{�Cc6#�Ӗ#�CCC�Ӗ36R��3f6VC#s
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-commune
Method GET
Parameter
Attack
Evidence nonce-YTJkYzY2ZGEtNGEzNy00ZmZmLWI1NWItZTMzYTRjZjFiNzM5
Other Info ���{�&F3cfF�F3r�Fffb�#SV"�S36F6c#s3
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence nonce-YmNhMTIwNTYtOTk2Ny00OTZhLWE3YTQtNDIwNjg3OTgwZjM2
Other Info ���{�&6#Sbӓ�cr�C�f�vB�C#c�s��c3
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence nonce-YWEyMjEyODctZTk1MS00ZGQ4LThjMmItNmU2OGM4OWNiMWQw
Other Info ���{�###�r�S�S�FFC�ӆ3&"�fSc�3��6#C
Instances 12
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
Content-Type Header Missing
Description
The Content-Type header was either missing or empty.
URL https://api.apprentissage.beta.gouv.fr
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/documentation-technique
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/documentation-technique/try
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/certifications
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/generation-lien-prise-rdv-formation
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-commune
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-formation
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-offre
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recuperation-detail-offre
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recuperation-formation
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recuperation-mission-locales
Method GET
Parameter content-type
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/
Method GET
Parameter content-type
Attack
Evidence
Other Info
Instances 14
Solution
Ensure each page is setting the specific and appropriate content-type value for the content being delivered.
Reference https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/gg622941(v=vs.85)
CWE Id 345
WASC Id 12
Plugin Id 10019
Informational
Information Disclosure - Suspicious Comments
Description
The response appears to contain suspicious comments which may help an attacker.
URL https://api.apprentissage.beta.gouv.fr/en/explorer
Method GET
Parameter
Attack
Evidence from
Other Info The following pattern was used: \bFROM\b and was detected in likely comment: "//www.w3.org/2000/svg\",\"xmlnsXlink\":\"http://www.w3.org/1999/xlink\",\"children\":[[\"$\",\"use\",\"artwork-decorative\",{\"c", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recherche-formation
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//catalogue-apprentissage.intercariforef.org/recherche/formations\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"clas", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//labonnealternance.apprentissage.beta.gouv.fr/\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"className\":\"fr-text-", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recuperation-detail-offre
Method GET
Parameter
Attack
Evidence from
Other Info The following pattern was used: \bFROM\b and was detected in likely comment: "//labonnealternance.apprentissage.beta.gouv.fr/) and [its partner sites](https://mission-apprentissage.notion.site/Liste-des-par", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recuperation-detail-offre
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//labonnealternance.apprentissage.beta.gouv.fr/\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"className\":\"fr-text-", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recuperation-formation
Method GET
Parameter
Attack
Evidence from
Other Info The following pattern was used: \bFROM\b and was detected in likely comment: "//catalogue-apprentissage.intercariforef.org/recherche/formations\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"clas", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/en/explorer/recuperation-organismes
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//referentiel.apprentissage.onisep.fr/organismes\"},{\"name\":\"API Entreprise\",\"logo\":{\"href\":\"/images/logo_gouvernement.", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-formation
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//catalogue-apprentissage.intercariforef.org/recherche/formations\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"clas", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//labonnealternance.apprentissage.beta.gouv.fr/\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"className\":\"fr-text-", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recuperation-detail-offre
Method GET
Parameter
Attack
Evidence from
Other Info The following pattern was used: \bFROM\b and was detected in likely comment: "//labonnealternance.apprentissage.beta.gouv.fr/) and [its partner sites](https://mission-apprentissage.notion.site/Liste-des-par", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recuperation-detail-offre
Method GET
Parameter
Attack
Evidence where
Other Info The following pattern was used: \bWHERE\b and was detected in likely comment: "//api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre\",\"rel\":\"$undefined\",\"target\":\"$undefined\",\"className\":\"", see evidence field for the suspicious comment/snippet.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recuperation-formation
Method GET
Parameter
Attack
Evidence from
Other Info The following pattern was used: \bFROM\b and was detected in likely comment: "//catalogue-apprentissage.intercariforef.org/recherche/formations\",\"rel\":\"noopener noreferrer\",\"target\":\"_blank\",\"clas", see evidence field for the suspicious comment/snippet.
Instances 12
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/en
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/en/documentation-technique/try
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/en/explorer
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/documentation-technique/try
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/certifications
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-commune
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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.
URL https://api.apprentissage.beta.gouv.fr/fr/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence <a class="fr-translate__language fr-nav__link" href="#" aria-current="true"><span class="short-label">fr</span> - <!-- -->Français</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 12
Solution
This is an informational alert and so no changes are required.
Reference
CWE Id
WASC Id
Plugin Id 10109
Informational
Non-Storable Content
Description
The response contents are not storable by caching components such as proxy servers. If the response does not contain sensitive, personal or user-specific information, it may benefit from being stored and cached, to improve performance.
URL https://api.apprentissage.beta.gouv.fr
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/documentation-technique
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/documentation-technique/try
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/certifications
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-commune
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-formation
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recherche-offre
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/explorer/recuperation-detail-offre
Method GET
Parameter
Attack
Evidence 307
Other Info
URL https://api.apprentissage.beta.gouv.fr/fr/
Method GET
Parameter
Attack
Evidence 308
Other Info
Instances 11
Solution
The content may be marked as storable by ensuring that the following conditions are satisfied:

The request method must be understood by the cache and defined as being cacheable ("GET", "HEAD", and "POST" are currently defined as cacheable)

The response status code must be understood by the cache (one of the 1XX, 2XX, 3XX, 4XX, or 5XX response classes are generally understood)

The "no-store" cache directive must not appear in the request or response header fields

For caching by "shared" caches such as "proxy" caches, the "private" response directive must not appear in the response

For caching by "shared" caches such as "proxy" caches, the "Authorization" header field must not appear in the request, unless the response explicitly allows it (using one of the "must-revalidate", "public", or "s-maxage" Cache-Control response directives)

In addition to the conditions above, at least one of the following conditions must also be satisfied by the response:

It must contain an "Expires" header field

It must contain a "max-age" response directive

For "shared" caches such as "proxy" caches, it must contain a "s-maxage" response directive

It must contain a "Cache Control Extension" that allows it to be cached

It must have a status code that is defined as cacheable by default (200, 203, 204, 206, 300, 301, 404, 405, 410, 414, 501).
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
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://api.apprentissage.beta.gouv.fr/robots.txt
Method GET
Parameter cache-control
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter cache-control
Attack
Evidence public, max-age=0, must-revalidate
Other Info
Instances 2
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/robots.txt
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/robots.txt
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/robots.txt
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://api.apprentissage.beta.gouv.fr
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://api.apprentissage.beta.gouv.fr/robots.txt
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
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://api.apprentissage.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.
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://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
Informational
Storable but Non-Cacheable Content
Description
The response contents are storable by caching components such as proxy servers, but will not be retrieved directly from the cache, without validating the request upstream, in response to similar requests from other users.
URL https://api.apprentissage.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
Instances 1
Solution
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.