WordPress wp-includes/feed.php self_link() Function Host Header RSS Feed XSS

medium Nessus Plugin ID 34994

Synopsis

The remote web server contains a PHP application that is affected by a cross-site scripting vulnerability.

Description

The version of WordPress installed on the remote host fails to properly sanitize input to the 'Host' request header before using it in the 'self_link()' function in 'wp-includes/feed.php' to generate dynamic HTML output. An attacker can leverage this issue to inject arbitrary HTML and script code into a user's browser to be executed within the security context of the affected site.

Solution

Upgrade to WordPress version 2.6.5 or later.

See Also

https://www.securityfocus.com/archive/1/498652/30/0/threaded

https://wordpress.org/news/2008/11/wordpress-265/

Plugin Details

Severity: Medium

ID: 34994

File Name: wordpress_self_link_host_xss.nasl

Version: 1.17

Type: remote

Published: 12/2/2008

Updated: 1/19/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:wordpress:wordpress

Required KB Items: installed_sw/WordPress, www/PHP

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 11/25/2008

Vulnerability Publication Date: 11/25/2008

Reference Information

CVE: CVE-2008-5278

BID: 32476

CWE: 79

Secunia: 32882