Article View: news.software.nntp
Article #81665Anonymous access leak?
From: John F. Morse
Date: Sun, 26 Jul 2009 19:05
Date: Sun, 26 Jul 2009 19:05
105 lines
4590 bytes
4590 bytes
I only allow anonymous access to one local "info" group (see
readers.conf below).
How does this connection access these two groups?:
john@optima5:/var/log$ sudo less syslog | grep 85.107.169.241
Jul 26 12:24:57 optima5 nnrpd[13245]: ? reverse lookup for
85.107.169.241 failed: Unknown host -- using IP address for access
Jul 26 12:24:57 optima5 nnrpd[13245]: 85.107.169.241 (85.107.169.241)
connect
Jul 26 12:24:57 optima5 nnrpd[13245]: 85.107.169.241 res <anonymous>
Jul 26 12:24:57 optima5 nnrpd[13245]: 85.107.169.241 no_match_user
<anonymous> <localhost>
Jul 26 12:24:57 optima5 nnrpd[13245]: 85.107.169.241 match_user
<anonymous> *
Jul 26 12:24:57 optima5 nnrpd[13245]: 85.107.169.241 group
linux.debian.l10n.turkish 0
Jul 26 12:24:58 optima5 nnrpd[13245]: 85.107.169.241 group
linux.debian.user.turkish 0
Jul 26 12:24:58 optima5 nnrpd[13245]: 85.107.169.241 times user 0.060
system 0.048 idle 0.000 elapsed 1.677
Jul 26 12:59:29 optima5 nnrpd[13762]: ? reverse lookup for
85.107.169.241 failed: Unknown host -- using IP address for access
Jul 26 12:59:29 optima5 nnrpd[13762]: 85.107.169.241 (85.107.169.241)
connect
Jul 26 12:59:29 optima5 nnrpd[13762]: 85.107.169.241 res <anonymous>
Jul 26 12:59:29 optima5 nnrpd[13762]: 85.107.169.241 no_match_user
<anonymous> <localhost>
Jul 26 12:59:29 optima5 nnrpd[13762]: 85.107.169.241 match_user
<anonymous> *
Jul 26 12:59:30 optima5 nnrpd[13762]: 85.107.169.241 group
linux.debian.l10n.turkish 0
Jul 26 12:59:30 optima5 nnrpd[13762]: 85.107.169.241 group
linux.debian.user.turkish 0
Jul 26 12:59:30 optima5 nnrpd[13762]: 85.107.169.241 times user 0.076
system 0.028 idle 0.000 elapsed 1.066
Jul 26 13:34:04 optima5 nnrpd[14442]: ? reverse lookup for
85.107.169.241 failed: Unknown host -- using IP address for access
Jul 26 13:34:04 optima5 nnrpd[14442]: 85.107.169.241 (85.107.169.241)
connect
Jul 26 13:34:04 optima5 nnrpd[14442]: 85.107.169.241 res <anonymous>
Jul 26 13:34:04 optima5 nnrpd[14442]: 85.107.169.241 no_match_user
<anonymous> <localhost>
Jul 26 13:34:04 optima5 nnrpd[14442]: 85.107.169.241 match_user
<anonymous> *
Jul 26 13:34:05 optima5 nnrpd[14442]: 85.107.169.241 group
linux.debian.l10n.turkish 0
Jul 26 13:34:05 optima5 nnrpd[14442]: 85.107.169.241 group
linux.debian.user.turkish 0
Jul 26 13:34:05 optima5 nnrpd[14442]: 85.107.169.241 times user 0.068
system 0.036 idle 0.000 elapsed 0.968
The above is from syslog.
I had a similar episode on July 22 from jammed.com where the connection
accessed many different groups and evidentially attempted to post a
message. From the Daily Report:
NNRP readership statistics:
System Conn Arts Size Groups Post Rej Elapsed
<snip>
jammed.com 1 1 1.1 KB 2719 0 1 00:27:45
How could an anonymous user get this access?
Here is the readers.conf info:
auth "global" {
hosts: "*"
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f
/var/lib/news/passlist"
default: "<anonymous>"
}
auth "localhost" {
hosts: "stdin,localhost"
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f
/var/lib/news/passlist"
default: "<localhost>"
}
access "authenticated" {
users: "*"
newsgroups: "*,!junk,!control,!control.*"
}
access "special" {
users: "<localhost>"
newsgroups: "*"
access: "RPNAL"
}
access "public" {
users: "<anonymous>"
read: "xanadu.info"
Any clues?
INN 2.4.5 on Debian 5.0.1.
--
John
Technical Details
Message-ID:
<h4i9d0$ejr$1@optima5.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <h4i9d0$ejr$1@optima5.xanadu-bbs.net> Subject: Anonymous access leak? Date: Sun, 26 Jul 2009 14:05:04 -0500 From: "John F. Morse" <john@example.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!feeder.eternal-september.org!eternal-september.org!optima2.xanadu-bbs.net!optima5.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 105 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: optima5.xanadu-bbs.net 1248635104 14971 192.168.89.210 (26 Jul 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Sun, 26 Jul 2009 19:05:04 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (X11/20090608)