--- title: 'More counter.social "private account" bypasses' date: 2022-12-20 author: ectamorphic tags: - CoSo - RubyOnRails - hacking hero: ai: Waifu Diffusion v1.3 file: apocalypse-waifu prompt: mushroom cloud, cityscape, 1girl, gas mask, ninja, dystopian --- 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]() 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 `