From 5f7942faca06e844996cbaa0c342fc39d9bc121d Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 21 Mar 2025 17:20:17 -0400 Subject: [PATCH] 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 --- VERSION | 2 +- cmd/anubis/botPolicies.json | 5 ----- docs/docs/CHANGELOG.md | 6 ++++++ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 30f101c..a4cc557 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.14.1 \ No newline at end of file +1.14.2 diff --git a/cmd/anubis/botPolicies.json b/cmd/anubis/botPolicies.json index 2785d87..aad2e9e 100644 --- a/cmd/anubis/botPolicies.json +++ b/cmd/anubis/botPolicies.json @@ -363,11 +363,6 @@ "path_regex": "^/robots.txt$", "action": "ALLOW" }, - { - "name": "rss-readers", - "path_regex": ".*\\.(rss|xml|atom|json)$", - "action": "ALLOW" - }, { "name": "lightpanda", "user_agent_regex": "^Lightpanda/.*$", diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index 56190b3..8c59f7d 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v1.14.2 + +Livia sas Junius: Echo 2 + +- Remove default RSS reader rule as it may allow for a targeted attack against rails apps + [#67](https://github.com/TecharoHQ/anubis/pull/67) - Whitelist MojeekBot in botPolicies [#47](https://github.com/TecharoHQ/anubis/issues/47) ## v1.14.1