#1 Le 28/05/2026, à 21:35
- UnMamouth
Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
Bonjour.
Je viens d'avoir un truc bizarre en démarrant mon ordinateur à l'instant : une nouvelle imprimante s'est installée toute seule, avec le nom "HP_Smart_Tank_5100_series_936FCE" au démarrage de l'ordinateur.
Je n'ai jamais installé d'imprimante de ce modèle.
Je ne peux pas la supprimer de la config de l'ordinateur : lorsque je tente de la supprimer (avec l'application system-config-printer ), elle disparaît et réapparaît aussitôt.
/MyUser@MyComputer:/etc/cups/ppd$ ls -all
total 52
drwxr-xr-x 2 root lp 4096 May 28 21:28 .
drwxr-xr-x 5 root lp 4096 May 28 21:29 ..
-rw-r----- 1 root lp 16843 Apr 11 19:00 Deskjet_3050_J610.ppd
-rw-r----- 1 root lp 21187 May 28 21:28 HP_Smart_Tank_5100_series_936FCE.ppdMyUser@MyComputer:/etc/cups/ppd$ sudo rm HP_Smart_Tank_5100_series_936FCE.ppd
[sudo] password for max:
MyUser@MyComputer:/etc/cups/ppd$ ls -all
total 28
drwxr-xr-x 2 root lp 4096 May 28 21:32 .
drwxr-xr-x 5 root lp 4096 May 28 21:29 ..
-rw-r----- 1 root lp 16843 Apr 11 19:00 Deskjet_3050_J610.ppdMyUser@MyComputer:/etc/cups/ppd$ sudo systemctl restart cupsMyUser@MyComputer:/etc/cups/ppd$ ls -all
total 28
drwxr-xr-x 2 root lp 4096 May 28 21:32 .
drwxr-xr-x 5 root lp 4096 May 28 21:33 ..
-rw-r----- 1 root lp 16843 Apr 11 19:00 Deskjet_3050_J610.ppdMyUser@MyComputer:/etc/cups/ppd$ ls -all
total 52
drwxr-xr-x 2 root lp 4096 May 28 21:33 .
drwxr-xr-x 5 root lp 4096 May 28 21:33 ..
-rw-r----- 1 root lp 16843 Apr 11 19:00 Deskjet_3050_J610.ppd
-rw-r----- 1 root lp 21187 May 28 21:33 HP_Smart_Tank_5100_series_936FCE.ppdça ne sent pas bon !
modération : retours présentés en pavés distincts.
Dernière modification par xubu1957 (Le 28/05/2026, à 21:43)
Hors ligne
#2 Le 28/05/2026, à 21:41
- xubu1957

Re : Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
Bonjour,
Montre :
sudo grep -v "Bad driver information file" /var/log/cups/error_loget d'éventuels paquets cassés :
dpkg -l | grep -v ^iiConseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [ Résolu ] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 28/05/2026, à 22:18
- UnMamouth
Re : Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
Salut. Merci de l'aide.
Entre-temps, j'ai fait un peu de recherche et, effectivement, une vulnérabilité de CUPS a été détectée fin 2024, qui ressemble à ça.
sudo grep -v "Bad driver information file" /var/log/cups/error_log
[sudo] password for MyUser:
W [20/May/2026:20:23:34 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [21/May/2026:19:01:08 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [22/May/2026:07:31:38 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [26/May/2026:00:16:16 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [26/May/2026:19:35:31 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [27/May/2026:06:34:41 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [27/May/2026:18:26:10 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [27/May/2026:18:32:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [27/May/2026:18:32:20 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already exists
W [28/May/2026:21:20:03 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [28/May/2026:21:22:37 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [28/May/2026:21:22:37 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already exists
W [28/May/2026:21:22:49 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [28/May/2026:21:22:49 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already exists
W [28/May/2026:21:28:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [28/May/2026:21:28:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already exists
W [28/May/2026:21:33:16 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [28/May/2026:21:36:40 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [28/May/2026:21:36:40 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already exists
W [28/May/2026:22:13:33 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-Gray..\' already exists
W [28/May/2026:22:13:33 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_Smart_Tank_5100_series_936FCE-DeviceN..\' already existsdpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================================-================================================-============-================================================================================Hors ligne
#4 Le 28/05/2026, à 22:30
- UnMamouth
Re : Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
Quelques liens :
https://www.akamai.com/blog/security-re … l-cups-rce
https://www.fosslinux.com/156204/how-to … bility.htm
Voici la commande indiquée dans la deuxième page :
sudo ss -lntu | grep 631
tcp LISTEN 0 4096 127.0.0.1:631 0.0.0.0:*
tcp LISTEN 0 4096 [::1]:631 [::]:* Donc je n'ai rien en UDP.
Hors ligne
#5 Le 28/05/2026, à 22:37
- UnMamouth
Re : Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
J'ai aussi exécuté les autres commandes indiquées :
MyUser@MyComputer~$ sudo systemctl stop cups-browsed
MyUser@MyComputer:~$ sudo systemctl disable cups-browsed
Removed "/etc/systemd/system/multi-user.target.wants/cups-browsed.service".Et lorsque je fais le systemctl stop cups-browsed , l'imprimante disparait. Si je fais un systemctl start cups-browsed, elle réapparait.
J'ai continué avec les autres conseils :
MyUser@MyComputer:~$ sudo systemctl mask cups-browsed
Created symlink /etc/systemd/system/cups-browsed.service → /dev/null.
max@NiuMSix:~$ sudo ss -lntu | grep 631
tcp LISTEN 0 4096 127.0.0.1:631 0.0.0.0:*
tcp LISTEN 0 4096 [::1]:631 [::]:*
MyUser@MyComputer:~$ sudo ufw deny proto udp from any to any port 631
Rule added
Rule added (v6)
MyUser@MyComputer:~$ sudo ufw allow proto udp from 192.168.1.0/24 to any port 631
Rule addedHors ligne
#6 Le 28/05/2026, à 23:07
- UnMamouth
Re : Suspect : imprimante qui s'ajoute toute seule, impossible à supprimer
En lisant cet article du chercheur qui a signalé la vulnérabilité , je vois qu'elle existe pour toute version de cups-browsed iet cups-filters inférieure à 2.0.1 et j'ai ... la 2.0.0 ! ![]()
J'ai aussi lancé la commande :
~$ netstat -anu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 0.0.0.0:57918 0.0.0.0:*
udp 0 0 0.0.0.0:52334 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 127.0.0.54:53 0.0.0.0:*
udp 0 0 127.0.0.53:53 0.0.0.0:*
udp 0 0 192.168.1.85:68 192.168.1.1:67 ESTABLISHED
udp6 0 0 :::59659 :::*
udp6 0 0 :::5353 :::* Mais je ne sais pas comment l'interpréter !
La seule chose qui n'est pas cohérente entre les explications trouvées et ce que je vois sur mon ordinateur est le résultat de sudo ss -lntu | grep 631 : dans les explications, il était indiqué que c'est le fait d'avoir des connections en UDP sur le port 631 qui est un problème, pas en TCP et je n'avais que des connections TCP .
Hors ligne