|
Bugzilla – Full Text Bug Listing |
| Summary: | VUL-0: CVE-2005-2496: xntpd: using wrong group for dropping privileges | ||
|---|---|---|---|
| Product: | [Novell Products] SUSE Security Incidents | Reporter: | Thomas Biege <thomas> |
| Component: | Incidents | Assignee: | Hendrik Vogelsang <hvogel> |
| Status: | RESOLVED FIXED | QA Contact: | Security Team bot <security-team> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | security-team |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | CVE-2005-2496: CVSS v2 Base Score: 4.6 (AV:L/AC:L/Au:N/C:P/I:P/A:P) | ||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | ntpd-using_wrong_group.diff | ||
|
Description
Thomas Biege
2005-02-10 19:26:52 UTC
<!-- SBZ_reproduce --> rcxntpd start ps -C ntpd -o comm,pid,ruser,euser,rgroup,egroup Debugging the problem revealed that the source of the evil is a bug in the ntpd.c code. Using a numerical GID works but not using a string. If a string was used the ntpd daemon looks up the gid to the corresponding name and then uses the gid of the user to switch to and not the gid of the group. ;) Created attachment 28383 [details]
ntpd-using_wrong_group.diff
I think a stable-only fix will suffice because the group 'ntp' belongs to 'nogroup' which isn't a dangerous substitute for any other group. But in stable we dont start ntpd with a group argument. So it uses root. Is that ok too? The patch works by the way,,, sorry that was mixed up. If we only fix it in stable then on released producta ntpd runs with the group root and not with nogroup. Because we dont use the group argument there oh.. i see. don't care. let's fix it in stable only and add it to xntp for possible future updates. ok so i use a group argument (ntp:nogroup) plus your patch if anybody wants to use another group. checked in CAN-2005-2496 CVE-2005-2496: CVSS v2 Base Score: 4.6 (AV:L/AC:L/Au:N/C:P/I:P/A:P) |