#1144755 trixie-pu: package mrtg/2.17.10-13+deb13u2

#1144755#5
Date:
2026-08-18 19:30:44 UTC
From:
To:
[ Reason ]
This PU solves #1144393, related to CVE-2026-72694.

When the MRTG daemon is started as a root user and subsequently drops
privileges, a local, low-privileged attacker can exploit a symbolic link
(symlink) following vulnerability. By influencing or pre-placing a symlink in
the process ID (PID) file path, the attacker can trick the root process into
changing the ownership of an arbitrary existing file to the daemon user. This
can lead to local privilege escalation, allowing unauthorized access to or
modification of sensitive files.

[ Impact ]
If the update isn't approved, we will have a security failure that can grant
unauthorized access to sensitive files on desktops and servers.

[ Tests ]
Some manual tests were made. The changes work fine. These changes were
provided by MRTG's upstream via a patch.

[ Risks ]
The risks are very low. A small part of the source code was changed and all
changes were tested.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The fix creates the PID file atomically with O_CREAT|O_EXCL, rejects symlinks,
performs fchown() on the open file descriptor, and also prevents
symlink-following when writing the PID later.

[ Other info ]
No more info.

#1144755#12
Date:
2026-09-04 11:24:55 UTC
From:
To:
Control: tags -1 + confirmed

Please go ahead.

Regards,

Adam

#1144755#19
Date:
2026-09-05 15:42:35 UTC
From:
To:
package release.debian.org
tags 1144755 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: mrtg
Version: 2.17.10-13+deb13u2

Explanation: fix privilege escalation issue [CVE-2026-72694]

#1144755#24
Date:
2026-09-05 15:42:35 UTC
From:
To:
package release.debian.org
tags 1144755 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: mrtg
Version: 2.17.10-13+deb13u2

Explanation: fix privilege escalation issue [CVE-2026-72694]

#1144755#29
Date:
2026-09-12 08:05:41 UTC
From:
To:
This update was released as part of 13.7.