CVE-2017-9525
Publication date 9 June 2017
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
In the cron package through 3.0pl1-128 on Debian, and through 3.0pl1-128ubuntu2 on Ubuntu, the postinst maintainer script allows for group-crontab-to-root privilege escalation via symlink attacks against unsafe usage of the chown and chmod programs.
Status
Package | Ubuntu Release | Status |
---|---|---|
cron | 24.04 LTS noble |
Not affected
|
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Fixed 3.0pl1-128.1ubuntu1.2
|
|
16.04 LTS xenial |
Fixed 3.0pl1-128ubuntu2+esm2
|
|
14.04 LTS trusty |
Vulnerable
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
jj
This appears to be mitigated by kernel symlink restrictions. The crontabs dir has the sticky bit set drwx-wx--T root crontab crontabs which means symlinks within the dir must have the same uid as the target. It is still possible that a cron package update could trigger this race.
seth-arnold
I believe that actually _exploiting_ the bug requires updating the cron package. So long as there's no updates for cron, the vulnerable code doesn't run. So if we find a second bug in cron then we really should fix the race condition at the same time, but so long as we don't push a cron update, the vulnerable code just plain doesn't run. the patch just narrows the time window for the race condition.
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.7 · Medium |
Attack vector | Local |
Attack complexity | Low |
Privileges required | High |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5259-1
- Cron vulnerabilities
- 1 February 2022
- USN-5259-2
- Cron vulnerabilities
- 6 May 2022
- USN-5259-3
- Cron regression
- 11 May 2022