ZAP Scanning Report

Site: https://declare-douane.beta.gouv.fr

Generated on Sun, 11 May 2025 10:41:32

ZAP Version: 2.16.1

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
1
Medium
3
Low
5
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
Vulnerable JS Library High 1
Content Security Policy (CSP) Header Not Set Medium 3
Missing Anti-clickjacking Header Medium 1
Sub Resource Integrity Attribute Missing Medium 1
Insufficient Site Isolation Against Spectre Vulnerability Low 9
Permissions Policy Header Not Set Low 11
Strict-Transport-Security Header Not Set Low 11
Timestamp Disclosure - Unix Low 1
X-Content-Type-Options Header Missing Low 11
Base64 Disclosure Informational 4
Information Disclosure - Suspicious Comments Informational 6
Modern Web Application Informational 3
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
Storable and Cacheable Content Informational 3
Storable but Non-Cacheable Content Informational 8

Alert Detail

High
Vulnerable JS Library
Description
The identified library appears to be vulnerable.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/main-c761a6d79d895139.js
Method GET
Parameter
Attack
Evidence ="13.4.9",V=(0,v.default)(),X=e=>[].slice.call(e),$=!1;self.__next_require__=r;class Y extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount
Other Info The identified library nextjs, version 13.4.9 is vulnerable. CVE-2024-47831 CVE-2024-56332 CVE-2024-51479 CVE-2023-46298 CVE-2024-34350 CVE-2024-39693 CVE-2024-34351 https://github.com/advisories/GHSA-g77x-44xx-532m https://github.com/advisories/GHSA-7gfc-8cq8-jh5f https://github.com/advisories/GHSA-7m27-7ghc-44w9 https://nvd.nist.gov/vuln/detail/CVE-2024-51479 https://github.com/vercel/next.js/security/advisories/GHSA-fr5h-rqp8-mj6g https://github.com/vercel/next.js/security/advisories/GHSA-77r5-gw3j-2mpf https://github.com/vercel/next.js/commit/d11cbc9ff0b1aaefabcba9afe1e562e0b1fde65a https://github.com/vercel/next.js/commit/1c8234eb20bc8afd396b89999a00f06b61d72d7b https://nvd.nist.gov/vuln/detail/CVE-2024-39693 https://github.com/advisories/GHSA-fr5h-rqp8-mj6g https://github.com/vercel/next.js/security/advisories/GHSA-7m27-7ghc-44w9 https://github.com/advisories/GHSA-77r5-gw3j-2mpf https://github.com/advisories/GHSA-c59h-r6p8-q9wc https://nvd.nist.gov/vuln/detail/CVE-2024-56332 https://github.com/vercel/next.js/commit/44eba020c615f0d9efe431f84ada67b81576f3f5 https://github.com/vercel/next.js/security/advisories/GHSA-fq54-2j52-jc42 https://github.com/vercel/next.js/commit/8f7a6ca7d21a97bc9f7a1bbe10427b5ad74b9085 https://nvd.nist.gov/vuln/detail/CVE-2024-34351 https://nvd.nist.gov/vuln/detail/CVE-2024-34350 https://github.com/vercel/next.js/security/advisories/GHSA-7gfc-8cq8-jh5f https://github.com/vercel/next.js/releases/tag/v14.2.15 https://github.com/advisories/GHSA-fq54-2j52-jc42 https://github.com/vercel/next.js https://nvd.nist.gov/vuln/detail/CVE-2024-47831 https://github.com/vercel/next.js/pull/62561 https://github.com/vercel/next.js/compare/v13.5.0...v13.5.1 https://github.com/vercel/next.js/security/advisories/GHSA-g77x-44xx-532m
Instances 1
Solution
Upgrade to the latest version of the affected library.
Reference https://owasp.org/Top10/A06_2021-Vulnerable_and_Outdated_Components/
CWE Id 1395
WASC Id
Plugin Id 10003
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://declare-douane.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.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 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
Missing Anti-clickjacking Header
Description
The response does not protect against 'ClickJacking' attacks. It should include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options.
URL https://declare-douane.beta.gouv.fr
Method GET
Parameter x-frame-options
Attack
Evidence
Other Info
Instances 1
Solution
Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.

If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.
Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
CWE Id 1021
WASC Id 15
Plugin Id 10020
Medium
Sub Resource Integrity Attribute Missing
Description
The integrity attribute is missing on a script or link tag served by an external server. The integrity tag prevents an attacker who have gained access to this server from injecting a malicious content.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/framework-9b80b781ed7dc150.js
Method GET
Parameter
Attack
Evidence <script src="'),L=d('<script type="module" src="'),M=d('" async=""></script>
Other Info
Instances 1
Solution
Provide a valid integrity attribute to the tag.
Reference https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
CWE Id 345
WASC Id 15
Plugin Id 90003
Low
Insufficient Site Isolation Against Spectre Vulnerability
Description
Cross-Origin-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://declare-douane.beta.gouv.fr
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Black.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Bold.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Medium.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-MediumItalic.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Regular.ttf
Method GET
Parameter Cross-Origin-Resource-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr
Method GET
Parameter Cross-Origin-Embedder-Policy
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr
Method GET
Parameter Cross-Origin-Opener-Policy
Attack
Evidence
Other Info
Instances 9
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://declare-douane.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/2962-09d096619cba66ea.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/6543-f8633be6d815ed35.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/7851-0ab76f1dc6992b12.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/pages/_error-82b79221b9ed784b.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/webpack-c30818cd23c8ba0d.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/URLwJGKcN0M9N08XrKl_q/_buildManifest.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/_next/static/URLwJGKcN0M9N08XrKl_q/_ssgManifest.js
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence
Other Info
Instances 11
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://declare-douane.beta.gouv.fr
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Black.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Bold.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-BoldItalic.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Light.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Medium.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-MediumItalic.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Regular.ttf
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence
Other Info
Instances 11
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://declare-douane.beta.gouv.fr/_next/static/chunks/main-c761a6d79d895139.js
Method GET
Parameter
Attack
Evidence 1540483477
Other Info 1540483477, which evaluates to: 2018-10-25 16:04:37.
Instances 1
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
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://declare-douane.beta.gouv.fr
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/webpack-c30818cd23c8ba0d.js
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Black.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Bold.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-BoldItalic.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Light.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Medium.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-MediumItalic.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Regular.ttf
Method GET
Parameter x-content-type-options
Attack
Evidence
Other Info This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type. At "High" threshold this scan rule will not alert on client or server error responses.
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Thin.ttf
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 11
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://declare-douane.beta.gouv.fr
Method GET
Parameter
Attack
Evidence /_next/static/URLwJGKcN0M9N08XrKl_q/_buildManifest
Other Info �����쵫bs�/F)�t3�t�zʗ��������'޲
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/pages/_app-745997c13336fde9.js
Method GET
Parameter
Attack
Evidence ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
Other Info �Q� ��0ӏA�QU�a��qן���Y�����ۯ���]�㞻�߿
URL https://declare-douane.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence /_next/static/URLwJGKcN0M9N08XrKl_q/_buildManifest
Other Info �����쵫bs�/F)�t3�t�zʗ��������'޲
URL https://declare-douane.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence /_next/static/URLwJGKcN0M9N08XrKl_q/_buildManifest
Other Info �����쵫bs�/F)�t3�t�zʗ��������'޲
Instances 4
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://declare-douane.beta.gouv.fr/_next/static/chunks/6543-f8633be6d815ed35.js
Method GET
Parameter
Attack
Evidence select
Other Info The following pattern was used: \bSELECT\b and was detected in likely comment: "//github.com/gregnb/react-to-print/issues/"])},500)},e.triggerPrint=function(t){var r=e.props,n=r.onBeforePrint,o=r.onPrintError", see evidence field for the suspicious comment/snippet.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/framework-9b80b781ed7dc150.js
Method GET
Parameter
Attack
Evidence bug
Other Info The following pattern was used: \bBUG\b and was detected in likely comment: "//reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);re", see evidence field for the suspicious comment/snippet.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/main-c761a6d79d895139.js
Method GET
Parameter
Attack
Evidence query
Other Info The following pattern was used: \bQUERY\b and was detected in likely comment: "//nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:a,styleSheets:o}=n;return(nu", see evidence field for the suspicious comment/snippet.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/pages/_app-745997c13336fde9.js
Method GET
Parameter
Attack
Evidence user
Other Info The following pattern was used: \bUSER\b and was detected in likely comment: "//i.test(e)}},16268:function(e,t,r){"use strict";var n=r(64867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}", see evidence field for the suspicious comment/snippet.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/pages/index-87e56de5f092a061.js
Method GET
Parameter
Attack
Evidence user
Other Info The following pattern was used: \bUSER\b and was detected in likely comment: "//www.legifrance.gouv.fr/",external:!0,children:(0,r.jsxs)("div",{className:"flex flex-row gap-1",children:[(0,r.jsxs)(v.Z,{colo", see evidence field for the suspicious comment/snippet.
URL https://declare-douane.beta.gouv.fr/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js
Method GET
Parameter
Attack
Evidence query
Other Info The following pattern was used: \bQUERY\b and was detected in likely comment: "//a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),!e.sort||"http://a/c%20d?a=", see evidence field for the suspicious comment/snippet.
Instances 6
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://declare-douane.beta.gouv.fr
Method GET
Parameter
Attack
Evidence <script>var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://declare-douane.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src='//cdn.matomo.cloud/declare-douane.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })();</script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
URL https://declare-douane.beta.gouv.fr/robots.txt
Method GET
Parameter
Attack
Evidence <script>var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://declare-douane.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src='//cdn.matomo.cloud/declare-douane.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })();</script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
URL https://declare-douane.beta.gouv.fr/sitemap.xml
Method GET
Parameter
Attack
Evidence <script>var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://declare-douane.matomo.cloud/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src='//cdn.matomo.cloud/declare-douane.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s); })();</script>
Other Info No links have been found while there are scripts, which is an indication that this is a modern web application.
Instances 3
Solution
This is an informational alert and so no changes are required.
Reference
CWE Id
WASC Id
Plugin Id 10109
Informational
Re-examine Cache-control Directives
Description
The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content. For static assets like css, js, or image files this might be intended, however, the resources should be reviewed to ensure that no sensitive content will be cached.
URL https://declare-douane.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://declare-douane.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter Sec-Fetch-Dest
Attack
Evidence
Other Info
URL https://declare-douane.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://declare-douane.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter Sec-Fetch-Mode
Attack
Evidence
Other Info
URL https://declare-douane.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://declare-douane.beta.gouv.fr
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter Sec-Fetch-Site
Attack
Evidence
Other Info
URL https://declare-douane.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://declare-douane.beta.gouv.fr
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter Sec-Fetch-User
Attack
Evidence
Other Info
URL https://declare-douane.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
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://declare-douane.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://declare-douane.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://declare-douane.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
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://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Black.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Bold.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-BoldItalic.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Italic.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Light.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Medium.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-MediumItalic.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
URL https://declare-douane.beta.gouv.fr/fonts/Roboto/Roboto-Regular.ttf
Method GET
Parameter
Attack
Evidence max-age=0
Other Info
Instances 8
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.