Issue Bug Closed

#20785Potential SQL injection in class.t3lib_tsfebeuserauth.php

Christian Weiske 07/27/09, 16:17 updated 07/02/10, 11:18

Description

t3lib/class.t3lib_tsfebeuserauth.php contains a potential security problem, leading to a SQL injection possibility:

$res = $GLOBALS[‘TYPO3_DB’]->exec_SELECTquery(implode(‘,’,$fields), $table, ‘uid=’.$uid);

$uid is from
> list($table,$uid) = explode(‘:’,$this->TSFE_EDIT[‘record’]);
which itself is from
> $this->TSFE_EDIT = t3lib_div::_POST(‘TSFE_EDIT’);

The problem exists in 4_2 branch, but not in typo3 4 trunk.
https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2/t3lib/class.t3lib_tsfebeuserauth.php

(issue imported from #M11586)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.