|
Main sidebar
|
PITS /
01260Summary: Vulnerability to relative links
Created: 2011-07-18 10:01
Status: Closed -- fixed for 2.2.28
Category: Bug
From: Michael Engelke
Assigned:
Priority: 3
Version: 2.2.27
OS: Win32/Apache 2.2.18 PHP 5.2.17
Description:
But not enough, you can also link to any protocol:
Since Path: originally designed only for relative links, one should check whether the links with a start "." or a start "/":
</Babelfish> <German> Schwachstelle in relativen LinksIch habe Schwachstelle entdeckt, wo man ohne Einschränkungen beliebige Links setzen kann. Normalerweise ist bei aktivierten UrlApprove nicht möglich neue unbekannte links zu setzen. Aber mit Hilfe von Path:, kann man die sperren umgehen:
Damit nicht genug, man kann auch auf beliebige Protokolle verlinken:
Da Path: eigentlich nur für relative Links gedacht ist, sollte man Prüfen, ob die Links mit einen "." oder einen "/" beginnen:
</German> This bug was fixed for version 2.2.28 (if the link starts with "protocol:", the column ":" will be urlencoded to "%3A"). Thanks and keep up the good work! --Petko July 20, 2011, at 04:15 PM |