View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007082 | mantisbt | security | public | 2006-05-12 17:16 | 2007-08-02 02:31 |
| Reporter | hacker | Assigned To | grangeway | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86 | OS | Linux | OS Version | Ubuntu Dapper |
| Product Version | 1.0.3 | ||||
| Summary | 0007082: Various security issues, permissions, directories, files, configuration | ||||
| Description | This is a placeholder for the various security issues I find in 1.0.3 and CVS versions... so far, I have: 1.) .php files do not need +x. php scripts are parsed, not executed, and they do not need to be 0777 to function properly. 0644 is sufficient, 0444 even better. 2.) Directories do not need to be 0755 as well, 0511 is perfectly sufficient for that as well. I've tested this thoroughly here and it works great. 3.) config_inc.php.sample has 'root' for the g_db_username field, and this is most-certainly going to lead users in the wrong direction. root should NEVER access mysql databases, period. Not only does it open a potential hole if the user doesn't use a different password for the connection to the Mantis db, but it dramatically slows down query speed, due to the wider permissions involved. I'll keep beating this one up... and forward-port my fixes into 1.0.3 and contribute as necessary. | ||||
| Tags | No tags attached. | ||||
|
Issues 1/2 are duplicate of issue 8120. The current tarball has completely wrong permissions set. In terms of issue 3 - we've moved away from using config.inc.sample and now (try) to generate a config file during installation. However, I agree with your point - and have changed username in config sample file for the database. Paul |
|
|
MantisBT: master daaedb05 2007-07-15 17:56 Paul Richards Details Diff |
Fix 0007082 - db_uesrname default example should not be root. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4441 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0007082 |
|
| mod - config_inc.php.sample | Diff File | ||