ZAP Scanning Report

Summary of Alerts

Risk LevelNumber of Alerts
High1
Medium0
Low4
Informational0

Alert Detail

High (Medium)SQL Injection
Description

SQL injection may be possible.

URLhttp://www.tevelcyber.com/wp-admin/?query=query%27+AND+%271%27%3D%271%27+--+
MethodGET
Parameterquery
Attackquery' OR '1'='1' --
URLhttp://www.tevelcyber.com/robots.txt?query=query%27+AND+%271%27%3D%271%27+--+
MethodGET
Parameterquery
Attackquery' OR '1'='1' --
URLhttp://www.tevelcyber.com?query=query%27+AND+%271%27%3D%271%27+--+
MethodGET
Parameterquery
Attackquery' OR '1'='1' --
URLhttp://www.tevelcyber.com/wp-admin/admin-ajax.php?query=query%27+AND+%271%27%3D%271%27+--+
MethodGET
Parameterquery
Attackquery' OR '1'='1' --
Instances4
Solution

Do not trust client side input, even if there is client side validation in place.

In general, type check all data on the server side.

If the application uses JDBC, use PreparedStatement or CallableStatement, with parameters passed by '?'

If the application uses ASP, use ADO Command Objects with strong type checking and parameterized queries.

If database Stored Procedures can be used, use them.

Do *not* concatenate strings into queries in the stored procedure, or use 'exec', 'exec immediate', or equivalent functionality!

Do not create dynamic SQL queries using simple string concatenation.

Escape all data received from the client.

Apply a 'whitelist' of allowed characters, or a 'blacklist' of disallowed characters in user input.

Apply the principle of least privilege by using the least privileged database user possible.

In particular, avoid using the 'sa' or 'db-owner' database users. This does not eliminate SQL injection, but minimizes its impact.

Grant the minimum database access that is necessary for the application.

Other information

The page results were successfully manipulated using the boolean conditions [query' AND '1'='1' -- ] and [query' OR '1'='1' -- ]

The parameter value being modified was NOT stripped from the HTML output for the purposes of the comparison

Data was NOT returned for the original parameter.

The vulnerability was detected by successfully retrieving more data than originally returned, by manipulating the parameter

Reference

https://www.owasp.org/index.php/Top_10_2010-A1

https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet

CWE Id89
WASC Id19
Source ID1
Low (Medium)Cookie No HttpOnly Flag
Description

A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.

URLhttps://www.tevelcyber.com/
MethodGET
ParameterPHPSESSID
EvidenceSet-Cookie: PHPSESSID
Instances1
Solution

Ensure that the HttpOnly flag is set for all cookies.

Reference

http://www.owasp.org/index.php/HttpOnly

CWE Id16
WASC Id13
Source ID3
Low (Medium)Cookie Without Secure Flag
Description

A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.

URLhttps://www.tevelcyber.com/
MethodGET
ParameterPHPSESSID
EvidenceSet-Cookie: PHPSESSID
Instances1
Solution

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.

Reference

http://www.owasp.org/index.php/Testing_for_cookies_attributes_(OWASP-SM-002)

CWE Id614
WASC Id13
Source ID3
Low (Medium)Cross-Domain JavaScript Source File Inclusion
Description

The page includes one or more script files from a third-party domain.

URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-content/uploads/dynamic_avia/avia-footer-scripts-338339a44891dfabd04b59bb03820127.js
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-content/uploads/dynamic_avia/avia-footer-scripts-338339a44891dfabd04b59bb03820127.js'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=4.2.6-78496d1
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=4.2.6-78496d1'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/jquery/jquery.js?ver=1.12.4
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/mediaelement/mediaelement-migrate.min.js?ver=4.9.9
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/mediaelement/mediaelement-migrate.min.js?ver=4.9.9'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/wp-embed.min.js?ver=4.9.9
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/wp-embed.min.js?ver=4.9.9'></script>
URLhttp://www.tevelcyber.com
MethodGET
Parameterhttps://tevelcyber.com/wp-includes/js/mediaelement/wp-mediaelement.min.js?ver=4.9.9
Evidence<script type='text/javascript' src='https://tevelcyber.com/wp-includes/js/mediaelement/wp-mediaelement.min.js?ver=4.9.9'></script>
Instances7
Solution

Ensure JavaScript source files are loaded from only trusted sources, and the sources can't be controlled by end users of the application.

Reference

CWE Id829
WASC Id15
Source ID3
Low (Medium)Cookie No HttpOnly Flag
Description

A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.

URLhttp://www.tevelcyber.com/robots.txt
MethodGET
ParameterPHPSESSID
EvidenceSet-Cookie: PHPSESSID
URLhttp://www.tevelcyber.com
MethodGET
ParameterPHPSESSID
EvidenceSet-Cookie: PHPSESSID
Instances2
Solution

Ensure that the HttpOnly flag is set for all cookies.

Reference

http://www.owasp.org/index.php/HttpOnly

CWE Id16
WASC Id13
Source ID3