Re: Bug#1142348: ITP: proftpd-mod-procfs -- ProFTPD module mod_procfs

2026-07-18 Thread Hilmar Preuße

On 7/18/26 11:49, Bastian Blank wrote:

On Sat, Jul 18, 2026 at 11:15:56AM +0200, Bastien Roucaries wrote:


Hello,


Why does we could not use systemd restriction ?


And what about all the other api directories, like /dev, /run, /sys?



As explained the module should address the specific CVE-2026-35025, w/o 
changing the proftp core code. As explained in [1] there are other 
methods to limit access to specific file systems.


Hilmar

[1] https://github.com/proftpd/proftpd/issues/2170
--
Testmail



OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Bug#1142348: ITP: proftpd-mod-procfs -- ProFTPD module mod_procfs

2026-07-18 Thread Preuße , Hilmar

Am 18.07.2026 um 11:15 schrieb Bastien Roucaries:

Le samedi 18 juillet 2026, 11:11:07 heure d’été d’Europe centrale Hilmar 
Preusse a écrit :


Hello,


Upstream refuses to solve CVE-2026-35025 by doing code changes. Instead
it is suggested to deny access to the /proc file system. This is exactly,
what is done by that module.


Why does we could not use systemd restriction ?

According to upstream one could also use PathDenyFilter to deny access 
to that path:


http://www.proftpd.org/docs/modules/mod_core.html#PathDenyFilter

This module is just an offer to end users to address this specific issue.

Hilmar
--
sigfault



OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Bug#1142348: ITP: proftpd-mod-procfs -- ProFTPD module mod_procfs

2026-07-18 Thread Bastian Blank
On Sat, Jul 18, 2026 at 11:15:56AM +0200, Bastien Roucaries wrote:
> Why does we could not use systemd restriction ?

And what about all the other api directories, like /dev, /run, /sys?

Bastian

-- 
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown



Re: Bug#1142348: ITP: proftpd-mod-procfs -- ProFTPD module mod_procfs

2026-07-18 Thread Bastien Roucaries
Le samedi 18 juillet 2026, 11:11:07 heure d’été d’Europe centrale Hilmar 
Preusse a écrit :
> Package: wnpp
> Severity: wishlist
> Owner: Hilmar Preuße 
> X-Debbugs-Cc: [email protected]
> 
> * Package name: proftpd-mod-procfs
>   Version : 0.1
>   Upstream Contact: TJ Saunders
> * URL : https://github.com/Castaglia/proftpd-mod_procfs
> * License : GPL-2+
>   Programming Lang: C
>   Description : ProFTPD module mod_procfs
> 
> The mod_procfs module for ProFTPD affects the visibility and use of the
> /proc filesystem directory that is commonly available.
> The idea is to mitigate CVE-2026-35025 by limiting access to procfs.
> 
> Upstream refuses to solve CVE-2026-35025 by doing code changes. Instead
> it is suggested to deny access to the /proc file system. This is exactly,
> what is done by that module.

Why does we could not use systemd restriction ?

rouca
> 
> I'm a part of the ProFTP team and I intend to maintain the package in
> the team.
> 



signature.asc
Description: This is a digitally signed message part.