Description
getipacctg in rancid 2.3.2~a8 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/ipacct.#####.prefixes, (2) /tmp/ipacct.#####.sorted, (3) /tmp/ipacct.#####.pl, and (4) /tmp/ipacct.##### temporary files.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rancid | 2.3.2~a8-2 | — |
| Debian 13 | rancid | 2.3.2~a8-2 | — |
| Debian 12 | rancid | 2.3.2~a8-2 | — |
References
- http://bugs.debian.org/496426
- 30954 vdb-entry
- 32588 third-party-advisory
- [oss-security] 20081030 CVE requests: tempfile issues for aview, mgetty, openoffice, crossfire mailing-list
- https://bugs.gentoo.org/show_bug.cgi?id=235770
- http://uvw.ru/report.lenny.txt
- http://dev.gentoo.org/~rbu/security/debiantemp/rancid-util