Feature #23050

Install tool password can be overwritten by an extensions' ext_localcconf.php

Added by Helmut Hummel almost 3 years ago. Updated over 2 years ago.

Status:Accepted Start date:2010-06-30
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.5 Complexity:
PHP Version:5.2
Votes: 0

Description

Quote from Bernhard Kraft: ===================================================
I think this should be seen as a security exploit. As a normal admin
should not be able to enter the install tool.

If you deactivate installing of extensions via the install tool
(AllowLocalInstall) so an admin can not install an extension like
quixplorer. And additionally set the "noEdit" flag, then this issue can
of course get avoided.

But I think operators of a site should be aware of this issue. What do
you think?

OTRS:

2010021810000014
(issue imported from #M14935)

14935_trunk.patch (4.1 kB) Administrator Admin, 2010-07-17 16:24

14935.patch (3.8 kB) Administrator Admin, 2011-01-04 10:04

History

Updated by Francois Suter almost 3 years ago

There are actually other parameters that could be overridden by an extension and which might cause some misery to a site, so it's nearly impossible to check for every situation without actually scanning every extension's ext_localconf.php file which would be a huge overhead (although it could probably also be done by a scheduler task).

To me it seems more like a problem of educating administrators. It could be something that goes in the (upcoming ;-) security guide.

Updated by Benjamin Mack almost 3 years ago

Well, I agree: Administrators should know what they install.

However, here is my solution:

Let's do it with the install tool password similar to the DB connection data:

Set it in localconf.php as a variable, and then make a constant out of it, before including all the extensions stuff.

Updated by Benjamin Mack almost 3 years ago

Attached is a first try of my approach.

Seems to me more like a feature than a security issue.

Also available in: Atom PDF