FreeBSD : drupal -- XSS (7a1ab8d4-35c1-11de-9672-0030843d3802)

Medium Nessus Plugin ID 38657


The remote FreeBSD host is missing one or more security-related updates.


Drupal Security Team reports :

When outputting user-supplied data Drupal strips potentially dangerous HTML attributes and tags or escapes characters which have a special meaning in HTML. This output filtering secures the site against cross site scripting attacks via user input.

Certain byte sequences that are valid in the UTF-8 specification are potentially dangerous when interpreted as UTF-7. Internet Explorer 6 and 7 may decode these characters as UTF-7 if they appear before the meta http-equiv='Content-Type' tag that specifies the page content as UTF-8, despite the fact that Drupal also sends a real HTTP header specifying the content as UTF-8. This behaviour enables malicious users to insert and execute JavaScript in the context of the website if site visitors are allowed to post content.

In addition, Drupal core also has a very limited information disclosure vulnerability under very specific conditions. If a user is tricked into visiting the site via a specially crafted URL and then submits a form (such as the search box) from that page, the information in their form submission may be directed to a third-party site determined by the URL and thus disclosed to the third party. The third party site may then execute a CSRF attack against the submitted form.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 38657

File Name: freebsd_pkg_7a1ab8d435c111de96720030843d3802.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2009/05/01

Modified: 2014/08/14

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.3

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:drupal5, p-cpe:/a:freebsd:freebsd:drupal6, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2009/04/30

Vulnerability Publication Date: 2009/04/30

Reference Information

CVE: CVE-2009-1575, CVE-2009-1576

CWE: 79