ZAP Scanning Report

Summary of Alerts

Generated on Fri, 23 Apr 2021 14:19:41

Risk LevelNumber of Alerts
High0
Medium1
Low3
Informational0

Alerts

NameRisk LevelNumber of Instances
Format String ErrorMedium1
Incomplete or No Cache-control and Pragma HTTP Header SetLow1
Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s)Low4
X-Content-Type-Options Header MissingLow1

Alert Detail

Medium (Medium)Format String Error
Description

A Format String error occurs when the submitted data of an input string is evaluated as a command by the application.

URLhttps://common.lolagrove.com/Enablement.QueryList.Lolagrove/v1/api/QueryList/e3796ae838835da0b6f6ea37bcf8bcb7?data=ZAP%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%0A&apiKey=FQDgHuOrLRLUfjWdur%2FxZoM1Or74cOW0N4S8D8SuO9c%3D
MethodGET
Parameterdata
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
Instances1
Solution

Rewrite the background program using proper deletion of bad character strings. This will require a recompile of the background executable.

Other information

Potential Format String Error. The script closed the connection on a /%s

Reference

https://owasp.org/www-community/attacks/Format_string_attack

CWE Id134
WASC Id6
Source ID1
Low (Medium)Incomplete or No Cache-control and Pragma HTTP Header Set
Description

The cache-control and pragma HTTP header have not been set properly or are missing allowing the browser and proxies to cache content.

URLhttps://common.lolagrove.com/Enablement.QueryList.Lolagrove/v1/api/QueryList/e3796ae838835da0b6f6ea37bcf8bcb7?data=3598a49f1b2f975cf11eb8de442f7a40&apiKey=FQDgHuOrLRLUfjWdur%2FxZoM1Or74cOW0N4S8D8SuO9c%3D
MethodGET
ParameterCache-Control
Instances1
Solution

Whenever possible ensure the cache-control HTTP header is set with no-cache, no-store, must-revalidate; and that the pragma HTTP header is set with no-cache.

Reference

https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching

CWE Id525
WASC Id13
Source ID3
Low (Medium)Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s)
Description

The web/application server is leaking information via one or more "X-Powered-By" HTTP response headers. Access to such information may facilitate attackers identifying other frameworks/components your web application is reliant upon and the vulnerabilities such components may be subject to.

URLhttps://common.lolagrove.com/robots.txt
MethodGET
EvidenceX-Powered-By: ASP.NET
URLhttps://common.lolagrove.com/favicon.ico
MethodGET
EvidenceX-Powered-By: ASP.NET
URLhttps://common.lolagrove.com/Enablement.QueryList.Lolagrove/v1/api/QueryList/e3796ae838835da0b6f6ea37bcf8bcb7?data=3598a49f1b2f975cf11eb8de442f7a40&apiKey=FQDgHuOrLRLUfjWdur%2FxZoM1Or74cOW0N4S8D8SuO9c%3D
MethodGET
EvidenceX-Powered-By: ASP.NET
URLhttps://common.lolagrove.com/sitemap.xml
MethodGET
EvidenceX-Powered-By: ASP.NET
Instances4
Solution

Ensure that your web server, application server, load balancer, etc. is configured to suppress "X-Powered-By" headers.

Reference

http://blogs.msdn.com/b/varunm/archive/2013/04/23/remove-unwanted-http-response-headers.aspx

http://www.troyhunt.com/2012/02/shhh-dont-let-your-response-headers.html

CWE Id200
WASC Id13
Source ID3
Low (Medium)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.

URLhttps://common.lolagrove.com/Enablement.QueryList.Lolagrove/v1/api/QueryList/e3796ae838835da0b6f6ea37bcf8bcb7?data=3598a49f1b2f975cf11eb8de442f7a40&apiKey=FQDgHuOrLRLUfjWdur%2FxZoM1Or74cOW0N4S8D8SuO9c%3D
MethodGET
ParameterX-Content-Type-Options
Instances1
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.

Other information

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.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

https://owasp.org/www-community/Security_Headers

CWE Id16
WASC Id15
Source ID3