Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

*possible* RT security bug

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


chad at opensourcery

Apr 16, 2009, 9:39 AM

Post #1 of 2 (896 views)
Permalink
*possible* RT security bug

Version 3.8.2

Noticed when writing a plugin. I have debugging that prints out the
content of %ARGS. I went to the page while not logged in, it prompted
for login. Logged in and it redirected to the page I am working on. the
debugging showed the username and password in %ARGS.

I would expect the username and password to be stripped from %ARGS the
moment the login validation stage is complete (on success or failure). I
do not have any clear ideas on how to exploit this, but it seems pretty
sketch.

-Chad Granum
Attachments: signature.asc (0.25 KB)


jesse at bestpractical

Apr 18, 2009, 7:27 PM

Post #2 of 2 (806 views)
Permalink
Re: *possible* RT security bug [In reply to]

On Thu 16.Apr'09 at 9:39:19 -0700, Chad Granum wrote:
> Version 3.8.2
>
> Noticed when writing a plugin. I have debugging that prints out the
> content of %ARGS. I went to the page while not logged in, it prompted
> for login. Logged in and it redirected to the page I am working on. the
> debugging showed the username and password in %ARGS.

Chad,

> I would expect the username and password to be stripped from %ARGS the
> moment the login validation stage is complete (on success or failure). I
> do not have any clear ideas on how to exploit this, but it seems pretty
> sketch.
>

Your expectation isn't really consistent with my experiences of web
application development, especially in a dynamic language like Perl.
If you're writing code linked into RT (as it is when you write an RT
plugin) you have full access to the application's internals. That means
you have full access to RT's internal data structures, database handle,
etc. Once you have access to the app's internals, it's trivial to hook
into any stage of the request process. A malicious developer can
trivially subvert any part of the request process. Stripping out request
data after processing won't stop them. It will, however, lead to weird,
inconsistent results for legitimate development.

I hope that explanation makes some sense. I'm happy to discuss this
further.

Best,
Jesse

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.