🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #61187

Re: XNews: Strange behavior with "Command" words in text.

#61187
From: Ross Presser
Date: Thu, 04 May 2000 00:00
71 lines
3646 bytes
alt.distinguished.where@areyou.com (Golem).wrote.posted.offered:

>Hello
>
>I have noticed a very strange behavior in the few days I have been
>using XNews v.03.04.11 
>
>Web addresses in messages, while not underlined, are active web
>links and call upon the default web browser to open the url. Great
>feature. That's the OK part. 
>
>The part that scares me is this. I accidently double-clicked on the
>word "more" when trying to read an article. My middle mouse button
>is programmed to send a double-click and I used this button instead
>of the left button to click "anywhere" in the text to make the
>message window active. I just happened to click on the word "more".
>
>To my enormous surprise a "Dos box" opened and attempted to run the
>Dsos Command : More. I scanned my different messages and clicked on
>various words. All of these returned an action in Windows 98. 
>
>Command
>c:\windows\
>Mode
>Find
>Defrag
>Scandisk
> and many more.
>
>Is there a danger of having a news reader that can activate Dos and
>Windows commands simply by double-clicking a "text" word in a
>message? 
>
>What other things can this news reader do? Can it launch "Commands"
>by itself? Can someone post messages with commands such as
>"Format..." or "Deltree..." that will auto-activate when read? 
>
>If anyone has a handle on this I would like to here from you.
>If this feature can be disabled I would surely like to know.

Xnews takes a rather simple approach to launching
messageids/urls/etc.  If you double-click, it autoselects some text
and then hands it off to the equivalent of "Start/Run".  So if you
double-click on this line 
  system.ini
it will start up Notepad and edit your system.ini file.  This will
work for *any* command or document in your path.  Try creating a file
in your windows directory called default.wri and double-click on it
in this sentence. 

This behavior is *only* triggered by double-clicking, or by selecting
text, using the right button context menu and choosing "Edit URL". 
Nothing can make Xnews automatically launch URLs or other text in the
text portion of a message. 

Another feature that could conceivably be a danger is autolaunch
attachments.  If you (stupidly) included one of the following
extensions 
   .EXE|.COM|.VBS|.JS|.HTM|.HTML|.BAT|.CMD|.DOC|.XLS|.PPT|.MDB
   (or any other document type that can include dangerous scripts)
under LaunchTypes= in xnews.ini, then reading a message in Xnews
could cause the attachment to automatically launch and cause you
trouble.  That's why I have *only* .GIF, .JPG, and .PNG in there. 

-- 
Ross Presser * ross_presser@imtek.com
"You can kill more lusers per hour with a dull spoon and a kind
sword, than with just a dull spoon." -- rsteenw@xs4all.nl (Rik
Steenwinkel) 

Technical Details
Message-ID: <8F2A82E97pt101594@205.139.105.25>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <8F2A7C55Cwhereareyoucom@206.106.140.252>

Show Full Headers
Complete Article Headers
Message-ID: <8F2A82E97pt101594@205.139.105.25>
Subject: Re: XNews: Strange behavior with "Command" words in text.
Date: Thu, 04 May 2000 00:00:00 +0000
From: rpresser@NOSPAMimtek.com.invalid (Ross Presser)
References: <8F2A7C55Cwhereareyoucom@206.106.140.252>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 619230787
Sender: newservice@151.204.48.130
X-Complaints-To: abuse@chatlink.com
X-Trace: news.chatlink.com 957462629 12434 151.204.48.130 (4 May 2000 17:50:29 GMT)
Organization: Imtek, Inc.
User-Agent: Xnews/03.04.11
NNTP-Posting-Date: 4 May 2000 17:50:29 GMT
Newsgroups: news.software.readers