From 65861ccd98cc5992fd916a77188e0778c752caef Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Tue, 20 Dec 2022 09:58:19 -0500 Subject: coso part 2 Signed-off-by: Xe Iaso --- blog/more-coso-bypasses.markdown | 263 +++++++++++++++++++++ ...e76b7b365493b881b382be8d3958326e1427cdc74e.json | 28 +++ ...70a3c0cdab119366656be0ed476d46ae3c14848b27.json | 28 +++ lib/xesite_types/src/mastodon.rs | 3 - 4 files changed, 319 insertions(+), 3 deletions(-) create mode 100644 blog/more-coso-bypasses.markdown create mode 100644 data/toots/0b26c3f97f55b77b8f1c84e76b7b365493b881b382be8d3958326e1427cdc74e.json create mode 100644 data/users/a2dcb9e5c73ef2a138e47b70a3c0cdab119366656be0ed476d46ae3c14848b27.json diff --git a/blog/more-coso-bypasses.markdown b/blog/more-coso-bypasses.markdown new file mode 100644 index 0000000..45b8db3 --- /dev/null +++ b/blog/more-coso-bypasses.markdown @@ -0,0 +1,263 @@ +--- +title: "More counter.social \"private account\" bypasses" +date: 2022-12-20 +author: ectamorphic +tags: + - CoSo + - RubyOnRails + - hacking +--- + + + +Hi there. This is a followup to my article about [the vulnerabilities I found in +a mastodon server named +counter.social](https://xeiaso.net/blog/coso-private-account-bypass). This +community is powered by a very hacked up fork of +[Mastodon](https://joinmastodon.org/), a popular federated social media platform +you can self-host that behaves something like Twitter did before the Elon +takeover. + +## Background + +[counter.social](https://counter.social) is a social network built on the open +source software [Mastodon](https://joinmastodon.org). For various reasons, +counter.social is one of the few Mastodon servers that **does not** federate to +the larger community, and as such has implemented unique account security +features that allows it to differentiate itself from other Mastodon instances. +It also has an embedded stream of CNN and other news sites. + +This social network is run by the hacktivist th3j35t3r. He has an [extensive +rapsheet](https://en.wikipedia.org/wiki/The_Jester_(hacktivist)) and had drama +with popular hacking groups like LulzSec. th3j35t3r is a very unstable figure in +the best of times, so it has been interesting to see the fallout of his +operations of a Mastodon server. + +For various reasons, I think that the +best way to describe counter.social's federation policy as "should not federate" +rather than "does not federate". But, I digress, for all practical reasons you +can treat it as "does not federate" because they broke the federation API in +weird ways. + +Earlier in November 2022, I discovered a number of _trivial exploits_ that could +let you bypass its "private account" system, also called a "public landing +page". One of the main things this system lets you do is have an account that is +"public" to other users of counter.social, but does not index on Google search. +This security method was implemented using JavaScript and a HTML `