ZAP Scanning Report

Site: http://127.0.0.1:3100

Generated on Mon, 13 Apr 2026 13:46:04

ZAP Version: 2.17.0

ZAP by Checkmarx

Summary of Alerts

Risk Level Number of Alerts
High
0
Medium
0
Low
2
Informational
3
False Positives:
0

Insights

Level Reason Site Description Statistic
Low
Exceeded High
http://127.0.0.1:3100
Percentage of responses with status code 4xx
99 %
Info
Informational
http://127.0.0.1:3100
Percentage of endpoints with content type application/json
100 %
Info
Informational
http://127.0.0.1:3100
Percentage of endpoints with method GET
72 %
Info
Informational
http://127.0.0.1:3100
Percentage of endpoints with method POST
27 %
Info
Informational
http://127.0.0.1:3100
Count of total endpoints
40

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
Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) Low Systemic
X-Content-Type-Options Header Missing Low 1
A Client Error response code was returned by the server Informational 40
Non-Storable Content Informational 5
Storable and Cacheable Content Informational 2

Alert Detail

Low
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.
URL http://127.0.0.1:3100/api/v1/holds/hold_id
Node Name http://127.0.0.1:3100/api/v1/holds/hold_id
Method GET
Parameter
Attack
Evidence X-Powered-By: Express
Other Info
URL http://127.0.0.1:3100/api/v1/reservations?reservation_code=reservation_code
Node Name http://127.0.0.1:3100/api/v1/reservations (reservation_code)
Method GET
Parameter
Attack
Evidence X-Powered-By: Express
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/available?checkin=checkin&checkout=checkout
Node Name http://127.0.0.1:3100/api/v1/rooms/available (checkin,checkout)
Method GET
Parameter
Attack
Evidence X-Powered-By: Express
Other Info
URL http://127.0.0.1:3100/health
Node Name http://127.0.0.1:3100/health
Method GET
Parameter
Attack
Evidence X-Powered-By: Express
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/hold
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/hold ()({checkin,checkout})
Method POST
Parameter
Attack
Evidence X-Powered-By: Express
Other Info
Instances Systemic
Solution
Ensure that your web server, application server, load balancer, etc. is configured to suppress "X-Powered-By" headers.
Reference https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/01-Information_Gathering/08-Fingerprint_Web_Application_Framework
https://www.troyhunt.com/shhh-dont-let-your-response-headers/
CWE Id 497
WASC Id 13
Plugin Id 10037
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 http://127.0.0.1:3100/health
Node Name http://127.0.0.1:3100/health
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
A Client Error response code was returned by the server
Description
A response code of 400 was returned by the server.

This may indicate that the application is failing to handle unexpected input correctly.

Raised by the 'Alert on HTTP Response Code Error' script
URL http://127.0.0.1:3100
Node Name http://127.0.0.1:3100
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/
Node Name http://127.0.0.1:3100/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/325324429305221743
Node Name http://127.0.0.1:3100/325324429305221743
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api
Node Name http://127.0.0.1:3100/api
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/
Node Name http://127.0.0.1:3100/api/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/5049988791746174015
Node Name http://127.0.0.1:3100/api/5049988791746174015
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1
Node Name http://127.0.0.1:3100/api/v1
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/
Node Name http://127.0.0.1:3100/api/v1/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/740135634794126755
Node Name http://127.0.0.1:3100/api/v1/740135634794126755
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/actuator/health
Node Name http://127.0.0.1:3100/api/v1/actuator/health
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/holds
Node Name http://127.0.0.1:3100/api/v1/holds
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/holds/
Node Name http://127.0.0.1:3100/api/v1/holds/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/holds/1280315852828156948
Node Name http://127.0.0.1:3100/api/v1/holds/1280315852828156948
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/holds/hold_id
Node Name http://127.0.0.1:3100/api/v1/holds/hold_id
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/holds/hold_id/
Node Name http://127.0.0.1:3100/api/v1/holds/hold_id/
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/reservations
Node Name http://127.0.0.1:3100/api/v1/reservations
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/reservations?reservation_code=reservation_code
Node Name http://127.0.0.1:3100/api/v1/reservations (reservation_code)
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/reservations/
Node Name http://127.0.0.1:3100/api/v1/reservations/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/reservations/335814925625442577
Node Name http://127.0.0.1:3100/api/v1/reservations/335814925625442577
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/reservations/reservation_id
Node Name http://127.0.0.1:3100/api/v1/reservations/reservation_id
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/reservations/reservation_id/
Node Name http://127.0.0.1:3100/api/v1/reservations/reservation_id/
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms
Node Name http://127.0.0.1:3100/api/v1/rooms
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/
Node Name http://127.0.0.1:3100/api/v1/rooms/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/2948388697569101079
Node Name http://127.0.0.1:3100/api/v1/rooms/2948388697569101079
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/available?checkin=checkin&checkout=checkout
Node Name http://127.0.0.1:3100/api/v1/rooms/available (checkin,checkout)
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/available/
Node Name http://127.0.0.1:3100/api/v1/rooms/available/
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/8057682841512002468
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/8057682841512002468
Method GET
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/api/v1/payments
Node Name http://127.0.0.1:3100/api/v1/payments ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/payments/
Node Name http://127.0.0.1:3100/api/v1/payments/ ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/hold
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/hold ()({checkin,checkout})
Method POST
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/hold/
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/hold/ ()({checkin,checkout})
Method POST
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/computeMetadata/v1/
Node Name http://127.0.0.1:3100/computeMetadata/v1/ ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/latest/meta-data/
Node Name http://127.0.0.1:3100/latest/meta-data/ ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/metadata/instance
Node Name http://127.0.0.1:3100/metadata/instance ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/metadata/v1
Node Name http://127.0.0.1:3100/metadata/v1 ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/opc/v1/instance/
Node Name http://127.0.0.1:3100/opc/v1/instance/ ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/opc/v2/instance/
Node Name http://127.0.0.1:3100/opc/v2/instance/ ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
URL http://127.0.0.1:3100/openstack/latest/meta_data.json
Node Name http://127.0.0.1:3100/openstack/latest/meta_data.json ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 404
Other Info
Instances 40
Solution
Reference
CWE Id 388
WASC Id 20
Plugin Id 100000
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 http://127.0.0.1:3100/api/v1/holds/hold_id
Node Name http://127.0.0.1:3100/api/v1/holds/hold_id
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/reservations/reservation_id
Node Name http://127.0.0.1:3100/api/v1/reservations/reservation_id
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/available?checkin=checkin&checkout=checkout
Node Name http://127.0.0.1:3100/api/v1/rooms/available (checkin,checkout)
Method GET
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/payments
Node Name http://127.0.0.1:3100/api/v1/payments ()({hold_id,amount,idempotency_key})
Method POST
Parameter
Attack
Evidence 400
Other Info
URL http://127.0.0.1:3100/api/v1/rooms/room_id/hold
Node Name http://127.0.0.1:3100/api/v1/rooms/room_id/hold ()({checkin,checkout})
Method POST
Parameter
Attack
Evidence 400
Other Info
Instances 5
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
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 http://127.0.0.1:3100/api/v1/reservations?reservation_code=reservation_code
Node Name http://127.0.0.1:3100/api/v1/reservations (reservation_code)
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 http://127.0.0.1:3100/health
Node Name http://127.0.0.1:3100/health
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 2
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

Sequence Details

With the associated active scan results.