BugPort Multiple vuln.
BugPort Multiple vuln.
r0t last vuln. report/advisory in 2005 year!
Vuln. discovered by : r0t
Date: 31 dec. 2005
vendor:www.incogen.com/index.php?type=General¶m=bugport
affected version:v1.147 and prior
Product Description:
The BugPort system is an open-source, freely available, web-based system to manage tasks and defects throughout the software development process. BugPort is written with the PHP language using its object-oriented capabilities and is in use by INCOGEN for internal management of software development and QA.
Vuln. Description:
1.
BugPort contains a flaw that allows a remote sql injection attacks.Input passed to the "orderBy" "where" "devWherePair[1][0]" parameter in "index.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code
/index.php?view=DevelopmentItemResultsView&devWherePair
%5B0%5D=state_id+%3C+%3F++AND++MATCH+%28report%2Csubjec
t%2Cdevelplan%2Cfixednotes%2Crepsteps%29+AGAINST+%28%3F
++IN+BOOLEAN+MODE%29&devWherePair%5B1%5D%5B0%5D=[SQL]
/index.php?view=DevelopmentItemResultsView&where=project
_id+%3D+%3F&orderBy=[SQL]
/index.php?view=DevelopmentItemResultsView&where=[SQL]
2.
BugPort contains a flaw that allows a remote cross site scripting attack. This flaw exists because input passed to multiple paremters(see POC below) in "index.php" isn't properly sanitised before being returned to the user.
This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.
/index.php?view=AddToFavoriteItemSetView&ids%5B0%5D=[XSS]
/index.php?view=AddRelatedDevelopmentItemFormView&report_id
=9&action=[XSS]
/index.php?view=AddRelatedDevelopmentItemFormView&report_
id=[XSS]
/index.php?view=DevelopmentItemResultsView&devWherePair
%5B0%5D=state_id+%3C+%3F++AND++MATCH+%28report%2Csub
ject%2Cdevelplan%2Cfixednotes%2Crepsteps%29+AGAINST
+%28%3F++IN+BOOLEAN+MODE%29&devWherePair%5B1%5D%5B0%5D
=240&devWherePair%5B1%5D%5B1%5D=[XSS]
/index.php?view=DevelopmentItemResultsView&where=project
_id+%3D+%3F&orderBy=priority_id+DESC&binds%5B0%5D=[XSS]
3.
Input passed to the "action" paramter isn't properly sanitised before being returned to the user. which may expose sensitive information about the system configuration and full instalisations path.
/index.php?view=AddRelatedDevelopmentItemFormView&report_id
=9&action=[CODE]
Solution:
Edit the source code to ensure that input is properly sanitised.


