CGI Generic Path Traversal (write test)

medium Nessus Plugin ID 46194

Synopsis

Arbitrary files may be modified on the remote host.

Description

The remote web server hosts CGI scripts that fail to adequately sanitize request strings and are affected by directory traversal or local file inclusion vulnerabilities.

By leveraging this issue, an attacker may be able to modify arbitrary files on the web server or execute commands.

Due to the way this flaw is tested, this script is prone to false positives.

Solution

Restrict access to the vulnerable application. Contact the vendor for a patch or upgrade.

See Also

https://en.wikipedia.org/wiki/Directory_traversal

http://cwe.mitre.org/data/definitions/22.html

http://projects.webappsec.org/w/page/13246952/Path%20Traversal

http://projects.webappsec.org/w/page/13246949/Null%20Byte%20Injection

http://www.nessus.org/u?70f7aa09

Plugin Details

Severity: Medium

ID: 46194

File Name: torture_cgi_dir_trav_W.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 4/30/2010

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Vulnerability Information

Required KB Items: Settings/enable_web_app_tests

Reference Information

OWASP: OWASP-AZ-001