Admbook content-data.php X-Forwarded-For Header Arbitrary PHP Code Injection

high Nessus Plugin ID 21080

Synopsis

The remote web server contains a PHP script that allows arbitrary code injection.

Description

The remote host is running AdmBook, a PHP-based guestbook.

The remote version of this software is prone to remote PHP code injection due to a lack of sanitization of the HTTP header 'X-Forwarded-For'. Using a specially crafted URL, a malicious user can execute arbitrary commands on the remote server subject to the privileges of the web server user id.

Solution

Unknown at this time.

See Also

http://www.nessus.org/u?28575228

Plugin Details

Severity: High

ID: 21080

File Name: admbook_cmd_exec.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 3/15/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:U/RC:X

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 2/19/2006

Reference Information

CVE: CVE-2006-0852

BID: 16753