<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Raju kumar (Mrcyberwarrior). on Medium]]></title>
        <description><![CDATA[Stories by Raju kumar (Mrcyberwarrior). on Medium]]></description>
        <link>https://medium.com/@mrcyberwarrior?source=rss-b0a7be4f2b3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8MU5qbYVwQHUijZa1IWs2Q.jpeg</url>
            <title>Stories by Raju kumar (Mrcyberwarrior). on Medium</title>
            <link>https://medium.com/@mrcyberwarrior?source=rss-b0a7be4f2b3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:10:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mrcyberwarrior/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Exploiting Activity in medium android app]]></title>
            <link>https://infosecwriteups.com/exploiting-activity-in-medium-android-app-e2e6f3553eef?source=rss-b0a7be4f2b3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2e6f3553eef</guid>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[médium]]></category>
            <category><![CDATA[hackerone]]></category>
            <dc:creator><![CDATA[Raju kumar (Mrcyberwarrior).]]></dc:creator>
            <pubDate>Mon, 10 May 2021 14:41:46 GMT</pubDate>
            <atom:updated>2021-05-21T15:09:20.795Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oejyt1O2akeKW0AhgXaAFQ.png" /></figure><p>Hello friends I am Raju Kumar A.k.a Mrcyberwarrior. Let’s come to the story, I found vulnerabilities in the web as well as android applications of medium but the web vulnerabilities are not fixed yet so here I will discuss one of the bug found on the Andriod application ie. Exploiting activity. if you already know about jadx-gui and have a basic idea of android application can skip the first section and directly read the detection and exploitation of the vulnerability.</p><p><strong>jadx: </strong>It is a command-line and GUI tool for producing Java source code from Android Dex and apk files.</p><p><strong>AndroidManifest.xml: </strong>Every app must have an AndriodManifest.xml file.it contains information about your package, including components of the application such as activities, services, broadcast receivers, content providers etc.</p><p><strong>Activity: </strong>An Android activity is one screen of the Android app’s user interface. It is defined in the androidmanifest.xml file.</p><p>for more information look into the developer guide <a href="https://developer.android.com/guide/">https://developer.android.com/guide/</a></p><h3><strong>Detection and exploitation of the vulnerability</strong></h3><p>I decompile the application using jadx-gui then looked into the AndriodManifest.xml file. I found there SaveToMediumActivity is an activity that is exported. It means it can be launched by arbitrary apps installed on the same device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ByTJXIJMsAW-1D5J42ixOg.png" /><figcaption>(Click on image to zoom)</figcaption></figure><p>Let’s jump into the code of SaveToMediumActivity to start analyzing the static code and its functionality what it does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oq_LIP6QlvcqfrgarkIKZQ.png" /><figcaption>(Click on image to zoom)</figcaption></figure><p>By using this application I detected there is a save button on each article published on medium and once the user clicks on the save button article gets added to the user saved list. As an attacker, I just think to save my own article which is not published on medium into the victim saved list.</p><p>As you can see in the above code It is saving the article in the saved list. Here the vulnerability exists. Attacker provided URL is loaded through getIntent().getStringExtra(“android.intent.extra.TEXT”)</p><p>Let’s exploit this using adb</p><p>adb shell am start -n com.medium.reader/com.medium.android.donkey.save.SaveToMediumActivity -e android.intent.extra.TEXT “https://attacker.com&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*oaX1BeRAepqRUzAd0DNSbQ.png" /></figure><p>PoC of exploitation code in Java:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*ddMO8RApZjviYcjYJzjhOg.png" /></figure><p>I created an application using the above code let’s exploit it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1656JqrVHeQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1656JqrVHeQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1656JqrVHeQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/73dfcaf94db3b6522d89b046deb0cff6/href">https://medium.com/media/73dfcaf94db3b6522d89b046deb0cff6/href</a></iframe><p>Thanks for reading.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FjUwpNzg9IcyrK%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FjUwpNzg9IcyrK%2Fgiphy.gif&amp;image=https%3A%2F%2Fmedia2.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExMGtsaXAwNzY3ZTUzczdxNDIzZXN5dTA5dzFpMmo4ZG5nemplaHVnZyZlcD12MV9naWZzX2dpZklkJmN0PWc%2FjUwpNzg9IcyrK%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/8631f35741a9509974f6ba423994133b/href">https://medium.com/media/8631f35741a9509974f6ba423994133b/href</a></iframe><p>Bug Reported: Sep 29, 2020</p><p>Bug fixed and bounty rewarded: Oct 2, 2020</p><p>For queries, you can DM on <a href="https://twitter.com/mrcyberwarrior">Twitter</a>. Feedbacks are always welcome.</p><p>Happy Hacking :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2e6f3553eef" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/exploiting-activity-in-medium-android-app-e2e6f3553eef">Exploiting Activity in medium android app</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>