Skip to content

Commit 5f7942f

Browse files
authored
cmd/anubis: delete example RSS reader rule (#67)
The example/default bot policy document had a rule to allow RSS readers through based on paths that end with ".rss", ".xml", ".atom", or ".json". Frameworks like Rails will treat these specially, meaning that going to /things/12345-whateverhaha.json could bypass Anubis. I checked the history of this rule and it was present in the original example policy file in Xe/x. This rule is likely a mistake and it has been removed. I think it was for making my blog still work with RSS readers. Thanks to Graham Sutherland for reporting this over email. Signed-off-by: Xe Iaso <[email protected]>
1 parent 869e46a commit 5f7942f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.14.1
1+
1.14.2

cmd/anubis/botPolicies.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,6 @@
363363
"path_regex": "^/robots.txt$",
364364
"action": "ALLOW"
365365
},
366-
{
367-
"name": "rss-readers",
368-
"path_regex": ".*\\.(rss|xml|atom|json)$",
369-
"action": "ALLOW"
370-
},
371366
{
372367
"name": "lightpanda",
373368
"user_agent_regex": "^Lightpanda/.*$",

docs/docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
## [Unreleased]
1313

14+
## v1.14.2
15+
16+
Livia sas Junius: Echo 2
17+
18+
- Remove default RSS reader rule as it may allow for a targeted attack against rails apps
19+
[#67](https://github.com/TecharoHQ/anubis/pull/67)
1420
- Whitelist MojeekBot in botPolicies [#47](https://github.com/TecharoHQ/anubis/issues/47)
1521

1622
## v1.14.1

0 commit comments

Comments
 (0)