[UNIX] Progress Database dbagent Security Vulnerability
From: SecuriTeam (support_at_securiteam.com)
Date: 06/15/03
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities Found in Mailtraq (DoS, Password Decryption, Directory Traversal)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 15 Jun 2003 22:21:20 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
Latest attack techniques.
You're a pen tester, but is google.com still your R&D team?
Now you can get trustworthy commercial-grade exploits and the latest
techniques from a world-class research group.
Learn more at http://www.coresecurity.com/promos/sit_e1,
or call 617-399-6980
- - - - - - - - -
Progress Database dbagent Security Vulnerability
------------------------------------------------------------------------
SUMMARY
Progress applications make the use of several helper .DLL and .so
binaries. When looking for shared object files _dbagent looks at the
argument passed to the command line option "-installdir". No verification
is performed upon the object that is located thus local non super users
can make themselves root.
DETAILS
Vulnerable systems:
* Progress Database versions 9.1 up to 9.1D06
This vulnerability is a rehash of
<http://www.securiteam.com/unixfocus/5DP0C1FAAI.html>
SRT2003-06-13-0945.txt with the difference being the method by which the
application determines where the dlopen() should search.
Example:
elguapo@rh8 9.1C]$ cat /usr/dlc/version
echo PROGRESS Version 9.1C as of Thu Jun 7 10:03:59 EDT 2001
Here we are using "-installdir /tmp" as the options to _dbagent
snprintf("/tmp/lib/librocket_r.so",303,"%s/lib/%s","/tmp","librocket_r.so")
memset(0xbfffece0, '\000', 303) = 0xbfffece0
strncpy(0xbfffece0, "/tmp/lib/librocket_r.so", 303) = 0xbfffece0
dlopen("/tmp/lib/librocket_r.so", 257
This is a fake _init in the fake libjutil.so
uid=0(root) gid=500(elguapo) groups=500(elguapo)
Workaround:
A valid workaround to nearly any Progress security hole is to remove the
suid bit from all binaries
i.e. run the following command:
#chmod -s /usr/dlc/bin/_dbagent
ADDITIONAL INFORMATION
The information has been provided by <mailto:dotslash@snosoft.com> KF.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[NT] Multiple Vulnerabilities Found in Mailtraq (DoS, Password Decryption, Directory Traversal)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [UNIX] Portmon Arbitrary File Read/Write Access Vulnerability
... Latest attack techniques. ... In order to use ping support, Portmon must run
as root ... The information in this bulletin is provided "AS IS" without warranty
of any kind. ... In no event shall we be liable for any damages whatsoever including direct,
indirect, incidental, consequential, loss of business profits or special damages. ... (Securiteam) - [NEWS] XSS Vulnerability in Synkron.web CMS
... The following security advisory is sent to the securiteam mailing list, and can be found at
the SecuriTeam web site: http://www.securiteam.com ... Latest attack techniques.
... The information in this bulletin is provided "AS IS" without warranty of any kind.
... In no event shall we be liable for any damages whatsoever including direct, indirect,
incidental, consequential, loss of business profits or special damages. ... (Securiteam) - [EXPL] Exploit Code Released for errpt
... Latest attack techniques. ... #shellcode from lsd-pl and modified by watercloud
2003-4 for Aix5L ... The information in this bulletin is provided "AS IS" without warranty
of any kind. ... In no event shall we be liable for any damages whatsoever including direct,
indirect, incidental, consequential, loss of business profits or special damages. ... (Securiteam) - [EXPL] Exploit Code Release for lsmcode Vulnerability
... Latest attack techniques. ... sub getshell{ ... The information
in this bulletin is provided "AS IS" without warranty of any kind. ... In no event shall
we be liable for any damages whatsoever including direct, indirect, incidental, consequential,
loss of business profits or special damages. ... (Securiteam)