Hi Michael,
 
        I see, I didn't think about that. So I downloaded the latest 1.2.5(5) and gave a look.
        I saw that &GetFile (/get?) is NOT used for editing lists, res files etc.
        Instead, &ConfigEdit (/edit?) is used, which of course has the same problem.
 
        So, IMHO, GetFile should be restricted to the images folder.
        And ConfigEdit, should validate against /\.\./ to ensure that you only access the assp folder, and it should only allow txt to ensure that you can only edit text files.
        And "file:" fields should be forced to have .txt extension. Perhaps the extension should be added no matter what, so it would be "file:filename".
 
        That would make it really secure and it would only mean 3 changes, in 3 very clear places.
 
        But of course, it is just an opinion :)
        If you like the idea, I can make the changes on 1.2.5(5) and pass it to you so you give a look at it.
        Regards!
 
Javier Albinarrate
 
 
 
----- Original Message -----
Sent: Thursday, August 17, 2006 12:30 PM
Subject: Re: [Assp-user] Its official - we are on Secunia...

Javier Albinarrate wrote:
        Not only assp.pl but the database files, an the configuration lists, etc
        I think that it should be locked at the images folder without any RE for extensions and so on.
        So you know that anything in images can be downloaded.

I like your way of thinking, but locking it into the images folder inst feasible at the moment.  The ability to remotely open/edit RE and list files through the web page also relies on this code.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to