The vulnerable system is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers). An example of a network attack is an attacker causing a denial of service by sending a specially crafted TCP packet across a wide area network (e.g., CVE-2004-0230).
Attack Complexity
Low
AC
The attacker must take no measurable action to exploit the vulnerability. The attack requires no target-specific circumvention to exploit the vulnerability. An attacker can expect repeatable success against the vulnerable system.
Privileges Required
None
PR
The attacker is unauthenticated prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
User Interaction
None
UI
The vulnerable system can be exploited without interaction from any human user, other than the attacker. Examples include: a remote attacker is able to send packets to a target system a locally authenticated attacker executes code to elevate privileges
Scope
Unchanged
S
An exploited vulnerability can only affect resources managed by the same security authority. In the case of a vulnerability in a virtualized environment, an exploited vulnerability in one guest instance would not affect neighboring guest instances.
Confidentiality
High
C
There is total information disclosure, resulting in all data on the system being revealed to the attacker, or there is a possibility of the attacker gaining control over confidential data.
Integrity
High
I
There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the attacker being able to modify any file on the target system.
Availability
High
A
There is a total shutdown of the affected resource. The attacker can deny access to the system or data, potentially causing significant loss to the organization.
Zone-H Research Center Security Advisory 200601
http://www.zone-h.fr
Date of release: 31/01/2006
Software: SPIP (http://www.spip.net)
Affected versions: < 1.8.2-e , < 1.9 Alpha 2 (5539)
Risk: Medium
Discovered by: Kevin Fernandez "Siegfried" and Benot Sklnard "netcraft" from the Zone-H Research Team
Background
----------
SPIP is a publishing system for the Internet.
Come again? It consists of a bundle of files, installed in your web account and allowing you to take advantage of a number of automated tasks: multi-user management, laying out your articles without the need to use HTML, easily modifying the structure of your site. From the very same application used to browse a site (Netscape, Microsoft Internet Explorer, Mozilla, Opera...), SPIP enables you to build and update a site, thanks to a very simple user interface.
Details
--------
Some sql injections and cross-site scripting vulnerabilities have been discovered.
-When we contacted the vendor, he already had fixed some of them: multiple sql injections exploitable in the administrative area.
The ones which weren't fixed when we contacted him were the sql injections in the forum (public area).
in formulaires/inc-formulaire_forum.php3 :
// recuperer les donnees du forum auquel on repond, false = forum interdit
list ($idr, $idf, $ida, $idb, $ids) = $args;
if (!$r = sql_recherche_donnees_forum ($idr, $idf, $ida, $idb, $ids))
return '';
It is exploitable via forum.php3 , example:
/forum.php3?id_article=1&id_forum=-1/**/UNION/**/SELECT%20pass%20from%20
spip_auteurs/*
or with any other variable (id_article, id_breve..) like:
/forum.php3?id_article=-1/**/UNION/**/SELECT%20pass%20from%20spip_auteur
s/*
It is exploitable like this with magic_quotes_gpc on or off.
A full path disclosure problem was present in inc-messforum.php3 when accessing it directly, let's say the spip path is /var/www/spip , it could then be used to exploit the sql injection (if magic_quotes_gpc is off) to inject php code in a writable directory(The "IMG" folder, like 3 others, are writable by default).
So if magic_quotes_gpc = Off , Display_errors = On and SPIP is version 1.8.2 or prior, it can be exploited to compromise a vulnerable system.
The vendor also discovered 2 potential sql injections in the session handling and when posting "petitions" (maybe others).
-We also notified the vendor of a xss problem, it isn't fixed.
index.php3?lang=">xss
Solution
---------
The sql injection vulnerabilities have been fixed in the latest svn snapshot (5546): svn://trac.rezo.net/spip/spip
or here: http://trac.rezo.net/files/spip/spip.zip
Original advisories:
English: http://www.zone-h.org/en/advisories/read/id=8650/
French: http://www.zone-h.fr/fr/advisories/read/id=874/
This information is provided for TESTING and LEGAL RESEARCH purposes only. All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum