PentestTools WebsiteScanner Report

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Website Vulnerability Scanner Report (Light)

Unlock the full capabilities of this scanner

See what the FULL scanner can do

Perform in-depth website scanning and discover high risk vulnerabilities.

Testing areas Light scan Full scan

Website fingerprinting  
Version-based vulnerability detection  

Common configuration issues  


SQL injection  

Cross-Site Scripting  

Local/Remote File Inclusion  

Remote command execution  

Discovery of sensitive files  

 https://www.cancan.ro/
Target created when starting a scan using the API

Summary

Overall risk level: Risk ratings: Scan information:


Medium High: 0 Start time: 2022-04-11 16:39:08 UTC+03

Medium: 1 Finish time: 2022-04-11 16:39:36 UTC+03

Low: 7 Scan duration: 28 sec

Info: 11 Tests performed: 19/19

Scan status: Finished

Findings

 Insecure cookie setting: missing HttpOnly flag CONFIRMED

Cookie
URL Evidence
Name

1/7
Set-Cookie:
wordpress_test_cookie=WP%20Cookie%20check; path=/; secure,
wordpress_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-
Age=0; path=/wp-admin, wordpress_sec_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-
2021 13:39:23 GMT; Max-Age=0; path=/wp-admin, wordpress_e089ef0fba58afc3e5a531c3861491d3=%20;
expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-Age=0; path=/wp-content/plugins,
wordpress_sec_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-
Age=0; path=/wp-content/plugins, wordpress_logged_in_e089ef0fba58afc3e5a531c3861491d3=%20;
https://ww
wordpres expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-Age=0; path=/,
w.cancan.r
s_test_co wordpress_logged_in_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT;
o/wp-
okie Max-Age=0; path=/, wp-settings-0=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-Age=0; path=/, wp-
admin/
settings-time-0=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-Age=0; path=/,
wordpress_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-
Age=0; path=/, wordpress_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23
GMT; Max-Age=0; path=/, wordpress_sec_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-
2021 13:39:23 GMT; Max-Age=0; path=/, wordpress_sec_e089ef0fba58afc3e5a531c3861491d3=%20;
expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-Age=0; path=/,
wordpressuser_e089ef0fba58afc3e5a531c3861491d3=%20; expires=Sun, 11-Apr-2021 13:39:23 GMT; Max-
Age=0; path=/, wordpresspa... (truncated)

 Details

Risk description:
A cookie has been set without the HttpOnly flag, which means that it can be accessed by the JavaScript code running inside the web page.
If an attacker manages to inject malicious JavaScript code on the page (e.g. by using an XSS attack) then the cookie will be accessible
and it can be transmitted 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.

References:
https://owasp.org/www-community/HttpOnly

Classification:
CWE : CWE-1004
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Missing security header: X-Frame-Options CONFIRMED

URL Evidence

https://www.cancan.ro/ Response headers do not include the HTTP X-Frame-Options security header

 Details

Risk description:
Because the X-Frame-Options header is not sent by the server, an attacker could embed this website into an iframe of a third party
website. By manipulating the display attributes of the iframe, the attacker could trick the user into performing mouse clicks in the
application, thus performing activities without user consent (ex: delete user, subscribe to newsletter, etc). This is called a Clickjacking
attack and it is described in detail here:
https://owasp.org/www-community/attacks/Clickjacking

Recommendation:
We recommend you to add the X-Frame-Options HTTP header with the values DENY or SAMEORIGIN to every page that you want to be
protected against Clickjacking attacks.

References:
https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html

Classification:
CWE : CWE-693
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

2/7
 Missing security header: X-XSS-Protection CONFIRMED

URL Evidence

https://www.cancan.ro/ Response headers do not include the HTTP X-XSS-Protection security header

 Details

Risk description:
The X-XSS-Protection HTTP header instructs the browser to stop loading web pages when they detect reflected Cross-Site Scripting (XSS)
attacks. Lack of this header exposes application users to XSS attacks in case the web application contains such vulnerability.

Recommendation:
We recommend setting the X-XSS-Protection header to X-XSS-Protection: 1; mode=block .

References:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

Classification:
CWE : CWE-693
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Missing security header: X-Content-Type-Options CONFIRMED

URL Evidence

https://www.cancan.ro/ Response headers do not include the X-Content-Type-Options HTTP security header

 Details

Risk description:
The HTTP header X-Content-Type-Options is addressed to the Internet Explorer browser and prevents it from reinterpreting the content of a
web page (MIME-sniffing) and thus overriding the value of the Content-Type header). Lack of this header could lead to attacks such as
Cross-Site Scripting or phishing.

Recommendation:
We recommend setting the X-Content-Type-Options header such as X-Content-Type-Options: nosniff .

References:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options

Classification:
CWE : CWE-693
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Robots.txt file found CONFIRMED

URL

https://www.cancan.ro/robots.txt

 Details

Risk description:
There is no particular security risk in having a robots.txt file. However, this file is often misused by website administrators to try to hide
some web pages from the users. This should not be considered a security measure because these URLs can be easily read directly from
the robots.txt file.

Recommendation:
We recommend you to manually review the entries from robots.txt and remove the ones which lead to sensitive locations in the website

3/7
(ex. administration panels, configuration files, etc).

References:
https://www.theregister.co.uk/2015/05/19/robotstxt/

Classification:
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Missing security header: Content-Security-Policy CONFIRMED

URL Evidence

https://www.cancan.ro/ Response headers do not include the HTTP Content-Security-Policy security header

 Details

Risk description:
The Content-Security-Policy (CSP) header activates a protection mechanism implemented in web browsers which prevents exploitation
of Cross-Site Scripting vulnerabilities (XSS). 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.

References:
https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy

Classification:
CWE : CWE-693
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Missing security header: Referrer-Policy CONFIRMED

URL Evidence

https://www.cancan.ro/sitemaps/n Response headers do not include the Referrer-Policy HTTP security header as well as the <meta> tag
ews-sitemap.xml with name 'referrer' is not present in the response.

 Details

Risk description:
The Referrer-Policy HTTP header controls how much referrer information the browser will send with each request originated from the
current web application.
For instance, if a user visits the web page "http://example.com/pricing/" and it 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.

References:
https://developer.mozilla.org/en-US/docs/Web/Security/Referer_header:_privacy_and_security_concerns

Classification:
CWE : CWE-693
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

4/7
 Server software and technology found

Software / Version Category

PHP Programming languages

WordPress 5.8.4 CMS, Blogs

MySQL Databases

Cloudflare CDN

Yoast SEO Premium 12.6 SEO

Yoast SEO SEO, WordPress plugins

Quantcast Choice Cookie compliance

OWL Carousel Widgets

Google Publisher Tag Advertising

Google Font API Font scripts

DoubleClick for Publishers (DFP) Advertising

Cxense Personalisation, Segmentation

Quantcast Measure Analytics

Prebid Advertising

OneSignal Marketing automation, A/B Testing

jQuery 3.5.1 JavaScript libraries

Google Tag Manager Tag managers

Google Remarketing Tag Retargeting

Google Analytics Analytics

core-js 3.6.4 JavaScript libraries

Criteo Advertising, Retargeting

Preact JavaScript libraries

RTB House Retargeting

 Details

Risk description:
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.

References:
https://owasp.org/www-project-web-security-testing-guide/stable/4-Web_Application_Security_Testing/01-Information_Gathering/02-
Fingerprint_Web_Server.html

Classification:
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

5/7
 Security.txt file is missing CONFIRMED

URL

Missing: https://www.cancan.ro/.well-known/security.txt

 Details

Risk description:
We have detected that the server is missing the security.txt file. There is no particular risk in not creating a valid Security.txt file for your
server. However, this file is important because it offers a designated channel for reporting vulnerabilities and security issues.

Recommendation:
We recommend you to implement the security.txt file according to the standard, in order to allow researchers or users report any security
issues they find, improving the defensive mechanisms of your server.

References:
https://securitytxt.org/

Classification:
OWASP Top 10 - 2013 : A5 - Security Misconfiguration
OWASP Top 10 - 2017 : A6 - Security Misconfiguration

 Nothing was found for domain too loose set for cookies.

 Nothing was found for missing HTTP header - Strict-Transport-Security.

 Nothing was found for directory listing.

 Nothing was found for secure communication.

 Website is accessible.

 Nothing was found for enabled HTTP debug methods.

 Nothing was found for use of untrusted certificates.

 Nothing was found for client access policies.

 Nothing was found for vulnerabilities of server-side software.

 Nothing was found for Secure flag of cookie.

6/7
Scan coverage information

List of tests performed (19/19)


 Checking for website accessibility...
 Checking for missing HTTP header - Content Security Policy...
 Checking for missing HTTP header - X-Frame-Options...
 Checking for missing HTTP header - X-XSS-Protection...
 Checking for missing HTTP header - X-Content-Type-Options...
 Checking for website technologies...
 Checking for vulnerabilities of server-side software...
 Checking for client access policies...
 Checking for robots.txt file...
 Checking for absence of the security.txt file...
 Checking for use of untrusted certificates...
 Checking for enabled HTTP debug methods...
 Checking for missing HTTP header - Referrer...
 Checking for HttpOnly flag of cookie...
 Checking for secure communication...
 Checking for directory listing...
 Checking for missing HTTP header - Strict-Transport-Security...
 Checking for domain too loose set for cookies...
 Checking for Secure flag of cookie...

Scan parameters
Website URL: https://www.cancan.ro/
Scan type: Light
Authentication: False

Scan stats
Unique Injection Points Detected: 194
URLs spidered: 6
Total number of HTTP requests: 16

7/7

You might also like