View Issue Details

IDProjectCategoryView StatusLast Update
0008980mantisbtsecuritypublic2008-08-11 09:42
Reporterthraxisp Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit trunk 
Fixed in Version1.2.0a2 
Summary0008980: Port: Remote Code Execution in adm_config
Description

Mantis Bug Tracker 1.1.1 Multiple Vulnerabilities

Name Multiple Vulnerabilities in Mantis
Systems Affected Mantis 1.1.1 and possibly earlier versions
Severity
Impact (CVSSv2) (, vector: )
Vendor http://www.mantisbt.org/
Advisory
Authors Antonio "s4tan" Parata (s4tan AT ush DOT it)
Francesco "ascii" Ongaro (ascii AT ush DOT it)
Date

C) Remote Code Execution Vulnerabilities

Finally we present the most critical vulnerability. A Remote Code Execution vulnerability exists in the software, but it can be exploited only if the attacker has a valid adminitrator account, so it could be ideal if used in conjunction with the previous one. The vulnerability is in the file adm_config_set.php. On row 80 we have the following statement:

eval( '$t_value = ' . $f_value . ';' );

where the $f_value is defined at row 34 of the same file:

$f_value = gpc_get_string( 'value' );

the parameter $f_value is never validated, so we can exploit this issue with the following url wich executes the phpinfo() function:

http://www.example.com/mantis/adm_config_set.php?user_id=0&project_id=0&config_option=cache_config&type=0&value=0;phpinfo()

TagsNo tags attached.

Relationships

child of 0008976 closedgiallu Remote Code Execution in adm_config 

Activities

giallu

giallu

2008-05-29 06:24

reporter   ~0017944

Removing private status since this is public now, as part of
CVE-2008-2276.

Rad Hat reference:
https://bugzilla.redhat.com/show_bug.cgi?id=448410

giallu

giallu

2008-05-29 06:25

reporter   ~0017945

Fixed in SVN revision 5301

http://mantisbt.svn.sourceforge.net/viewvc/mantisbt?view=rev&revision=5301

Related Changesets

MantisBT: master 325cf9a6

2008-05-29 06:17

giallu


Details Diff
Fix 8980: Port: Remote Code Execution in adm_config

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5301 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0008980
mod - adm_config_set.php Diff File