PT-2007-2971 · Myserver · Myserver
Published
2007-03-21
·
Updated
2008-11-15
·
CVE-2007-1588
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
MyServer version 0.8.5
Description
The issue arises from the order of function calls in server.cpp, where Process::setuid is called before Process::setgid, resulting in improper privilege dropping. This could potentially allow remote attackers to execute CGI programs with unintended privileges.
Recommendations
For MyServer version 0.8.5, consider modifying the server.cpp to call Process::setgid before Process::setuid to properly drop privileges. As a temporary workaround, restrict access to CGI programs to minimize the risk of exploitation.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Myserver