Nп/п : 94 из 100
 От   : red floyd                           2:5075/128        27 сен 23 17:15:59
 К    : Markus Robert Kessler                                 27 сен 23 03:21:02
 Тема : Re: Warning: Openconnect my overwrite your data
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@redfloyd.dont-email.me>
4ecbcb28
@REPLY: 1@dont-email.me> da0dbb49
@REPLYADDR red floyd <no.spam.here@its.invalid>
@REPLYTO 2:5075/128 red floyd
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
1@redfloyd.dont-email.me>
@RFC-References: 1@dont-email.me>
@TZUTC: -0700
@PID: Mozilla/5.0 (Windows NT 10.0; Win64; x64;
rv:102.0) Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
On 9/27/2023 12:51 PM, Markus Robert Kessler wrote:
> For years I am setting up sudo-based cisco vpnc vpn access, so that
> "normal" users can open / close vpns without root password.

> Now I did the same with openconnect.
> This one also provides the option "--pid-file", which is handy, because
> vpnc provides a small program called "vpnc-disconnect", which looks for
> the pid hardcoded in /run/vpnc.pid. So, I set up openconnect to use the
> same pid-file, and hence oepnconnect can be also terminated using "vpnc-
> disconnect".

> Well, this option looked suspicious to me from the beginning, and so I had
> a look into the sources. There I saw something like "prefix" and other
> fancy things around the pid-file, and so I thought this was to "sanitize"
> user input.

> But it was not.

> I tried "openconnect --pid-file /dev/sda ..."

> and, guess? -- Yes, the box did not boot anymore.

> What makes me nervous is that every non-privileged user can do the same.
> Vpnc seems to have the same security hole.

> I am just thinking about recompile and rebuild the packages, where this
> option is excluded and the pid file is hardcoded to, let`s say /run/
> vpnc.pid.


What the heck did you think would happen when you told it to write over 
your hard drive boot sector?

 --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх