Vulnerability Scan Result

| Title: | Rexel |
| Description: | Nous aidons les clients industriels, commerciaux et résidentiels à rendre leurs entreprises et leurs maisons plus économes en énergie, plus confortables, plus sûres et plus durables. |
| ip_address | 13.107.246.64 |
| country | US |
| network_name | Microsoft Corporation |
| asn | AS8075 |
| ip_address | 13.107.213.64 |
| country | US |
| network_name | Microsoft Corporation |
| asn | AS8075 |
80/tcp | http | - - |
443/tcp | https | - - |
| Software / Version | Category |
|---|---|
| Azure | PaaS |
| Clipboard.js | JavaScript libraries |
| Azure Front Door | Load balancers |
| jQuery Migrate 3.4.1 | JavaScript libraries |
| Google Analytics | Analytics |
| GSAP | JavaScript frameworks |
| jQuery 3.7.1 | JavaScript libraries |
| MinIO | Network storage |
| MySQL | Databases |
| Nginx | Web servers, Reverse proxies |
| Open Graph | Miscellaneous |
| PHP 8.3.26 | Programming languages |
| Twitter Emoji (Twemoji) | Font scripts |
| WordPress | CMS, Blogs |
| WPML | WordPress plugins, Translation |
| Google Tag Manager | Tag managers |
| Lodash 1.13.7 | JavaScript libraries |
| OneTrust | Cookie compliance |
| Yoast SEO 26.1.1 | SEO, WordPress plugins |
Web Application Vulnerabilities
Evidence
| URL | Cookie Name | Evidence |
|---|---|---|
| https://rexel.com/ | PHPSESSID | Set-Cookie: PHPSESSID=41b10343b9ed132aeafaec936e252b48 |
Vulnerability description
We found that a cookie has been set without the Secure flag, which means the browser will send it over an unencrypted channel (plain HTTP) if such a request is made. The root cause for this usually revolves around misconfigurations in the code or server settings.
Risk description
The risk exists that an attacker will intercept the clear-text communication between the browser and the server and he will steal the cookie of the user. If this is a session cookie, the attacker could gain unauthorized access to the victim's web session.
Recommendation
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.
Classification
| CWE | CWE-614 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
| URL | Cookie Name | Evidence |
|---|---|---|
| https://rexel.com/ | PHPSESSID | The server responded with Set-Cookie header(s) that does not specify the HttpOnly flag: Set-Cookie: PHPSESSID=41b10343b9ed132aeafaec936e252b48 |
Vulnerability description
We found that a cookie has been set without the HttpOnly flag, which means it can be accessed by potentially malicious JavaScript code running inside the web page. The root cause for this usually revolves around misconfigurations in the code or server settings.
Risk description
The risk is that an attacker who injects malicious JavaScript code on the page (e.g. by using an XSS attack) can access the cookie and can send it to another site. In case of a session cookie, this could lead to session hijacking.
Recommendation
Ensure that the HttpOnly flag is set for all cookies.
Classification
| CWE | CWE-1004 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
| URL | Evidence |
|---|---|
| https://rexel.com/ | Response headers do not include the HTTP Strict-Transport-Security header |
Vulnerability description
We noticed that the target application lacks the HTTP Strict-Transport-Security header in its responses. This security header is crucial as it instructs browsers to only establish secure (HTTPS) connections with the web server and reject any HTTP connections.
Risk description
The risk is that lack of this header permits an attacker to force a victim user to initiate a clear-text HTTP connection to the server, thus opening the possibility to eavesdrop on the network traffic and extract sensitive information (e.g. session cookies).
Recommendation
The Strict-Transport-Security HTTP header should be sent with each HTTPS response. The syntax is as follows: `Strict-Transport-Security: max-age=<seconds>[; includeSubDomains]` The parameter `max-age` gives the time frame for requirement of HTTPS in seconds and should be chosen quite high, e.g. several months. A value below 7776000 is considered as too low by this scanner check. The flag `includeSubDomains` defines that the policy applies also for sub domains of the sender of the response.
Classification
| CWE | CWE-693 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
| URL | Evidence |
|---|---|
| https://rexel.com/ | Response headers do not include the Referrer-Policy HTTP security header as well as the |
Vulnerability description
We noticed that the target application's server responses lack the Referrer-Policy HTTP header, which controls how much referrer information the browser will send with each request originated from the current web application.
Risk description
The risk is that if a user visits a web page (e.g. "http://example.com/pricing/") and clicks on a link from that page going to e.g. "https://www.google.com", the browser will send to Google the full originating URL in the `Referer` header, assuming the Referrer-Policy header is not set. The originating URL could be considered sensitive information and it could be used for user tracking.
Recommendation
The Referrer-Policy header should be configured on the server side to avoid user tracking and inadvertent information leakage. The value `no-referrer` of this header instructs the browser to omit the Referer header entirely.
Classification
| CWE | CWE-693 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
| Software / Version | Category |
|---|---|
| Azure | PaaS |
| Clipboard.js | JavaScript libraries |
| Azure Front Door | Load balancers |
| jQuery Migrate 3.4.1 | JavaScript libraries |
| Google Analytics | Analytics |
| GSAP | JavaScript frameworks |
| jQuery 3.7.1 | JavaScript libraries |
| MinIO | Network storage |
| MySQL | Databases |
| Nginx | Web servers, Reverse proxies |
| Open Graph | Miscellaneous |
| PHP 8.3.26 | Programming languages |
| Twitter Emoji (Twemoji) | Font scripts |
| WordPress | CMS, Blogs |
| WPML | WordPress plugins, Translation |
| Google Tag Manager | Tag managers |
| Lodash 1.13.7 | JavaScript libraries |
| OneTrust | Cookie compliance |
| Yoast SEO 26.1.1 | SEO, WordPress plugins |
Vulnerability description
We noticed that server software and technology details are exposed, potentially aiding attackers in tailoring specific exploits against identified systems and versions.
Risk description
The risk is that an attacker could use this information to mount specific attacks against the identified software type and version.
Recommendation
We recommend you to eliminate the information which permits the identification of software platform, technology, server and operating system: HTTP server headers, HTML meta information, etc.
Evidence
| URL | Evidence |
|---|---|
| https://rexel.com/ | Response does not include the HTTP Content-Security-Policy security header or meta tag |
Vulnerability description
We noticed that the target application lacks the Content-Security-Policy (CSP) header in its HTTP responses. The CSP header is a security measure that instructs web browsers to enforce specific security rules, effectively preventing the exploitation of Cross-Site Scripting (XSS) vulnerabilities.
Risk description
The risk is that if the target application is vulnerable to XSS, lack of this header makes it easily exploitable by attackers.
Recommendation
Configure the Content-Security-Header to be sent with each HTTP response in order to apply the specific policies needed by the application.
Classification
| CWE | CWE-693 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
| URL | Evidence |
|---|---|
| https://rexel.com/ | Response headers do not include the X-Content-Type-Options HTTP security header |
Vulnerability description
We noticed that the target application's server responses lack the X-Content-Type-Options header. This header is particularly important for preventing Internet Explorer from reinterpreting the content of a web page (MIME-sniffing) and thus overriding the value of the Content-Type header.
Risk description
The risk is that lack of this header could make possible attacks such as Cross-Site Scripting or phishing in Internet Explorer browsers.
Recommendation
We recommend setting the X-Content-Type-Options header such as `X-Content-Type-Options: nosniff`.
Classification
| CWE | CWE-693 |
| OWASP Top 10 - 2017 | |
| OWASP Top 10 - 2021 |
Evidence
Vulnerability description
We found the robots.txt on the target server. This file instructs web crawlers what URLs and endpoints of the web application they can visit and crawl. Website administrators often misuse this file while attempting to hide some web pages from the users.
Risk description
There is no particular security risk in having a robots.txt file. However, it's important to note that adding endpoints in it should not be considered a security measure, as this file can be directly accessed and read by anyone.
Recommendation
We recommend you to manually review the entries from robots.txt and remove the ones which lead to sensitive locations in the website (ex. administration panels, configuration files, etc).
Infrastructure Vulnerabilities
Evidence
| DKIM selector | Key type | Key size | Value |
|---|---|---|---|
| default | rsa | 882 | "v=DKIM1; g=*; k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDV37ViPSDKA47nSZwc+gVo/XaLKiZeiwNSJMzyLtOie7VKjFxT/jMM7WTX2Mq//NV5ezSVWxSJh7fvdBKQJB7MWL1XK2YtCYu19fb5hS1vrd9" |
| rsa | 1362 | "v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwJwb7IDaeel7BuaJFErZzExMFkTLBOocba7k6oscMQ280HEV0Zps+VfPL4DGZKl8hNx3YOEFgFuRjWepCpZnTQa5AiTgHWY7Ud/Xw6vwf3Aa8AzLfy+yUr4v7aJTZaBKHp95pXhU72yjfCuRi1y3halWvSomZIkM23IrRgZfo6LnMZVds790zkK" "+LDnxDzmSBMlKpG7Ce1FVy/Efdn7g38KqXADYva2s0dz1QQnossXBybSbxHTp9QHZvxVnrpnpo3ZYdb2PXZ/jeTHOveMlBfn8/Gdf54VinntnoJLHVT1/pVZIivKzKqfhV9XOmnHJhG7obMPb4pyDFQAERiN7MwIDAQAB" |
Vulnerability description
We found that the DKIM record uses common selectors. The use of common DKIM selectors such as default, test, dkim, or mail may indicate a lack of proper customization or key management. Attackers often target domains using such selectors because they suggest that the domain is relying on default configurations, which could be less secure and easier to exploit. This can increase the risk of DKIM key exposure or misuse.
Risk description
Using a common DKIM selector makes it easier for attackers to predict and exploit email authentication weaknesses. Attackers may attempt to find corresponding DKIM keys or improperly managed records associated with common selectors. If a common selector is coupled with a weak key length or poor key management practices, it significantly increases the likelihood of email spoofing and phishing attacks.
Recommendation
We recommend using unique, customized selectors for each DKIM key to make it more difficult for attackers to predict and target the domain's DKIM records. Regularly rotate selectors and associated keys to further strengthen the security of your domain's email authentication infrastructure.
Evidence
| Domain Queried | DNS Record Type | Description | Value |
|---|---|---|---|
| _dmarc.rexel.com | TXT | Text record | "v=DMARC1; p=quarantine; rua=mailto:dmarc.reports@rexel.com; ruf=mailto:dmarc.reports@rexel.com; fo=1; ri=86400" |
Vulnerability description
We found that the target uses p=quarantine in the DMARC policy. When a DMARC policy is set to p=quarantine, emails that fail DMARC validation are delivered but placed in the recipient’s spam or junk folder. Although it offers some protection, this policy is less strict than p=reject, which blocks such emails entirely.
Risk description
While emails failing DMARC validation are sent to the spam folder, users may still retrieve them from there, leading to a higher risk of phishing and spoofing attacks succeeding. Moreover, less strict enforcement may allow more fraudulent emails to reach user inboxes if misclassified.
Recommendation
We recommend considering moving to a stricter policy, such as p=reject, where emails that fail DMARC validation are completely rejected rather than delivered to spam folders. This reduces the risk of users interacting with potentially malicious emails.
Evidence
We found insecure DNS cookie usage on the following nameservers: ns1-02.azure-dns.com, ns2-02.azure-dns.net, ns3-02.azure-dns.org, ns4-02.azure-dns.info
Vulnerability description
We found that the server does not implement DNS Cookies or uses them insecurely. DNS Cookies help prevent DNS-based attacks, such as spoofing and amplification attacks.
Risk description
The risk exists because without DNS Cookies, the server is vulnerable to DNS spoofing and amplification attacks. Attackers can manipulate responses or use the server in distributed denial-of-service (DDoS) attacks, compromising network availability and security.
Recommendation
We recommend enabling DNS Cookies to prevent spoofed DNS responses. Ensure proper cookie validation is implemented to mitigate DNS amplification attacks. Regularly update DNS servers to support the latest DNS security features.
Evidence
| Domain Queried | DNS Record Type | Description | Value |
|---|---|---|---|
| _dmarc.rexel.com | TXT | Text record | "v=DMARC1; p=quarantine; rua=mailto:dmarc.reports@rexel.com; ruf=mailto:dmarc.reports@rexel.com; fo=1; ri=86400" |
Vulnerability description
We found that the DMARC record for the domain is not configured with sp policy, meaning that no policy is enforced for subdomains. When a DMARC record does not include a subdomain policy (sp directive), subdomains are not explicitly covered by the main domain's DMARC policy. This means that emails sent from subdomains (e.g., sub.example.com) may not be subject to the same DMARC enforcement as the main domain (example.com). As a result, attackers could potentially spoof emails from subdomains without being blocked or flagged, even if the main domain has a strict DMARC policy.
Risk description
Without a subdomain policy (sp directive) in the DMARC record, subdomains are not protected by the same DMARC enforcement as the main domain, leaving them vulnerable to spoofing attacks. This inconsistency can be exploited by attackers to send phishing emails from subdomains, undermining the organization’s overall email security.
Recommendation
To mitigate the risk, we recommend configuring the DMARC record with a subdomain policy by adding the sp=reject or sp=quarantine directive. This will extend DMARC enforcement to all subdomains, preventing spoofing attempts and maintaining consistent security across both the main domain and its subdomains.
Evidence
| DKIM selector | Key type | Key size | Value |
|---|---|---|---|
| default | rsa | 882 | "v=DKIM1; g=*; k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDV37ViPSDKA47nSZwc+gVo/XaLKiZeiwNSJMzyLtOie7VKjFxT/jMM7WTX2Mq//NV5ezSVWxSJh7fvdBKQJB7MWL1XK2YtCYu19fb5hS1vrd9" |
Vulnerability description
We found that the DKIM key length is under 1024-bit. When a DKIM (DomainKeys Identified Mail) key length is under 1024-bit, it is considered weak by modern cryptographic standards. Shorter key lengths, such as 512 or 768 bits, are vulnerable to brute-force attacks, where an attacker could potentially forge a valid DKIM signature for a domain. This undermines the entire purpose of DKIM, which is to authenticate email messages and prevent email spoofing by verifying that the message headers have not been tampered with. A DKIM key under 1024 bits significantly reduces the difficulty for attackers to break the signature.
Risk description
The primary risk of using a DKIM key with fewer than 1024 bits is that it weakens the domain's email authentication security, making it more susceptible to brute-force attacks. If an attacker successfully forges a DKIM signature, they can impersonate legitimate senders and send fraudulent or phishing emails that appear authentic to the recipient. This can lead to financial losses, reputational damage, and an increased risk of targeted attacks, as recipients are more likely to trust emails that pass DKIM verification.
Recommendation
We recommend using a DKIM key with a length of at least 1024 bits. Ideally, 2048-bit keys should be used, as they provide a higher level of security and are more resistant to brute-force attacks. Organizations should regularly audit their DKIM configurations and rotate cryptographic keys periodically to maintain security. In addition, any DKIM keys that are less than 1024 bits should be immediately replaced with stronger keys to prevent exploitation.
Evidence
| Software / Version | Category |
|---|---|
| WordPress 6.8.3 | CMS, Blogs |
| MinIO | Network storage |
| MySQL | Databases |
| PHP 8.3.26 | Programming languages |
| Azure Front Door | Load balancers |
| Nginx | Web servers, Reverse proxies |
| Azure | PaaS |
| Yoast SEO 26.1.1 | SEO, WordPress plugins |
| WPML 4.7.6 | WordPress plugins, Translation |
| OneTrust | Cookie compliance |
| Google Tag Manager | Tag managers |
| Google Analytics GA4 | Analytics |
| Open Graph | Miscellaneous |
Vulnerability description
We noticed that server software and technology details are exposed, potentially aiding attackers in tailoring specific exploits against identified systems and versions.
Risk description
The risk is that an attacker could use this information to mount specific attacks against the identified software type and version.
Recommendation
We recommend you to eliminate the information which permits the identification of software platform, technology, server and operating system: HTTP server headers, HTML meta information, etc.
Evidence
| Domain Queried | DNS Record Type | Description | Value |
|---|---|---|---|
| rexel.com | SPF | Sender Policy Framework | "v=spf1 ip4:188.93.114.1 ip4:46.22.207.64 ip4:46.22.207.65 ip4:64.254.29.11 ip4:62.209.35.219/29 ip4:20.67.244.95 ip4:20.248.128.150 ip4:20.157.30.106 ip4:176.149.159.129 ip4:176.149.159.159 ip4:50.85.191.199 ip4:188.93.114.7 ip4:188.93.114.8 ip4:50.85.19" "1.199 ip4:4.180.190.43 ip4:85.31.203.224/28 include:spf.eqs-externaladdress.com include:spf.protection.outlook.com include:spf-inm.eqs-service.com include:servers.mcsv.net include:docebosaas.com -all" |
Evidence
| Operating System | Accuracy |
|---|---|
| Crestron XPanel control system | 87% |
Vulnerability description
OS Detection
Evidence
| Domain Queried | DNS Record Type | Description | Value |
|---|---|---|---|
| rexel.com | A | IPv4 address | 13.107.213.64 |
| rexel.com | A | IPv4 address | 13.107.246.64 |
| rexel.com | NS | Name server | ns1-02.azure-dns.com |
| rexel.com | NS | Name server | ns2-02.azure-dns.net |
| rexel.com | NS | Name server | ns3-02.azure-dns.org |
| rexel.com | NS | Name server | ns4-02.azure-dns.info |
| rexel.com | MX | Mail server | 0 rexel-com.mail.protection.outlook.com |
| rexel.com | SOA | Start of Authority | ns1-02.azure-dns.com. azuredns-hostmaster.microsoft.com. 1 3600 300 2419200 300 |
| rexel.com | TXT | Text record | "MS=ms75145168" |
| rexel.com | TXT | Text record | "NcaFZyleR1PGf9+ZDgwfWcTyYg0gT53crb3GRzJ5G9WhhgoZ06eO4UOliowE+MJ4G/ztBJn/WazVCvxvlHls8w==" |
| rexel.com | TXT | Text record | "YqkY7Q9LfIT1cKEp/kh53/8sHTUwXAgdiH16jsPg3Ys=" |
| rexel.com | TXT | Text record | "google-site-verification=9-psvCcI4wCxyFfb8lP5I9XayY3jRW1oYmWKO0rXoUo" |
| rexel.com | TXT | Text record | "adobe-sign-verification=a4461d47cecf2a972c90d7da1da1a777" |
| rexel.com | TXT | Text record | "zXXcpoOcyuBg1OQ0aKqAfa3HEAUh5FuBZJ33VZV+IQ0=" |
| rexel.com | TXT | Text record | "onetrust-domain-verification=9f66690b2a1748e8aac2cc43b19404fd" |
| rexel.com | TXT | Text record | "_globalsign-domain-verification=POe5D7OnyMJzIRX7Kwfyc19Cp5Cda2ktTwMyEzqdlX" |
| rexel.com | TXT | Text record | "globalsign-domain-verification=XF3ngRnC4Jjj6jH-PWTw246M23uRgvr7NWn21C9Ur3" |
| rexel.com | TXT | Text record | "adobe-idp-site-verification=50fb5a9bea5d4361c390fe5f3f42c038c26e1eab505146dd43627d11a7019303" |
| rexel.com | SPF | Sender Policy Framework | "v=spf1 ip4:188.93.114.1 ip4:46.22.207.64 ip4:46.22.207.65 ip4:64.254.29.11 ip4:62.209.35.219/29 ip4:20.67.244.95 ip4:20.248.128.150 ip4:20.157.30.106 ip4:176.149.159.129 ip4:176.149.159.159 ip4:50.85.191.199 ip4:188.93.114.7 ip4:188.93.114.8 ip4:50.85.19" "1.199 ip4:4.180.190.43 ip4:85.31.203.224/28 include:spf.eqs-externaladdress.com include:spf.protection.outlook.com include:spf-inm.eqs-service.com include:servers.mcsv.net include:docebosaas.com -all" |
| _dmarc.rexel.com | TXT | Text record | "v=DMARC1; p=quarantine; rua=mailto:dmarc.reports@rexel.com; ruf=mailto:dmarc.reports@rexel.com; fo=1; ri=86400" |
Risk description
An initial step for an attacker aiming to learn about an organization involves conducting searches on its domain names to uncover DNS records associated with the organization. This strategy aims to amass comprehensive insights into the target domain, enabling the attacker to outline the organization's external digital landscape. This gathered intelligence may subsequently serve as a foundation for launching attacks, including those based on social engineering techniques. DNS records pointing to services or servers that are no longer in use can provide an attacker with an easy entry point into the network.
Recommendation
We recommend reviewing all DNS records associated with the domain and identifying and removing unused or obsolete records.
Evidence
| DKIM selector | Key type | Key size | Value |
|---|---|---|---|
| default | rsa | 882 | "v=DKIM1; g=*; k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDV37ViPSDKA47nSZwc+gVo/XaLKiZeiwNSJMzyLtOie7VKjFxT/jMM7WTX2Mq//NV5ezSVWxSJh7fvdBKQJB7MWL1XK2YtCYu19fb5hS1vrd9" |
| rsa | 1362 | "v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwJwb7IDaeel7BuaJFErZzExMFkTLBOocba7k6oscMQ280HEV0Zps+VfPL4DGZKl8hNx3YOEFgFuRjWepCpZnTQa5AiTgHWY7Ud/Xw6vwf3Aa8AzLfy+yUr4v7aJTZaBKHp95pXhU72yjfCuRi1y3halWvSomZIkM23IrRgZfo6LnMZVds790zkK" "+LDnxDzmSBMlKpG7Ce1FVy/Efdn7g38KqXADYva2s0dz1QQnossXBybSbxHTp9QHZvxVnrpnpo3ZYdb2PXZ/jeTHOveMlBfn8/Gdf54VinntnoJLHVT1/pVZIivKzKqfhV9XOmnHJhG7obMPb4pyDFQAERiN7MwIDAQAB" | |
| mandrill | rsa | 1296 | "k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;" |
| selector1 | rsa | 1296 | "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6TdQkR33IrA3NazbpgFlNNPhR4jrxuSXJetH7zT1LvST+mNFcFiBF9ETZYUV7ynhmO9ukDHkzM463kK7jRIRs5JjeudVYuYjdBlyCysri8m5wNW89kG/9RjxT0g+lLZziCCccx2uB+ZC9M3PbMLECABjDfUanUemg+Fd/f/03KQIDAQAB;" |
