Article ID: 7057, created on Jan 5, 2010, last review on Apr 17, 2012

  • Applies to:
  • Plesk 8.6 for Linux/Unix

Symptômes

Rapport du scan :
=============
Security warning found on port/service "pcsync-https (8443/tcp)"
 
Plugin "Expect Header Cross-Site Scripting Vulnerability"
 
Category "CGI abuses : XSS "
 
Priority "Medium Priority "Synopsis : The remote web server is vulnerable to a cross-site scripting
attack. Description : The remote web server fails to sanitize the contents of an 'Expect'
request header before using it to generate dynamic web content. An unauthenticated
remote attacker may be able to leverage this issue to launch cross-site scripting attacks
against the affected service, perhaps through specially-crafted ShockWave (SWF) files.
 
See also: http://archives.neohapsis.com/archives/bugtraq/2006-05/0151.html
http://archives.neohapsis.com/archives/bugtraq/2006-05/0441.html
http://archives.neohapsis.com/archives/bugtraq/2006-07/0425.html
http://www.apache.org/dist/httpd/CHANGES_2.2
http://www.apache.org/dist/httpd/CHANGES_2.0
http://www.apache.org/dist/httpd/CHANGES_1.3
http://www-1.ibm.com/support/docview.wss?uid=swg1PK24631
http://www-1.ibm.com/support/docview.wss?uid=swg24017314
 
Solution : Check with the vendor for an update to the web server. For Apache, the issue is reportedly
fixed by versions 1.3.35 / 2.0.57 / 2.2.2 for IBM HTTP Server, upgrade to 6.0.2.13 / 6.1.0.1 for IBM
WebSphere Application Server, upgrade to 5.1.1.17.
 
Risk factor : Medium / CVSS Base Score : 4.3 (CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
 
CVE: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-3918 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-5944
BID : 19661, 26457 Other references : OSVDB:27487, OSVDB:27488, OSVDB:38700

=============

Résolution

Pour résoudre cette vulnérabilité (le code d'erreur retourné peut contenir du script), nous vous conseillons d'ajouter l'option ErrorDocument dans la configuration du service Apache qui sert Parallels Panel.
Pour ce faire, créez le fichier /usr/local/psa/admin/conf/httpsd.custom.include qui contient l'enregistrement :

/usr/local/psa/admin/conf/httpsd.custom.include
---8<---
ErrorDocument 417 "Expect not supported"
--->8---


Puis redémarrez le service Apache de Plesk :'

~# /etc/init.d/psa restart1

9fa0130c84cac4b292697ade62270a40 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 b8ef5052d936e902043e41759118114e 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF