<?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 Ruben A (Hacker_Yogi) on Medium]]></title>
        <description><![CDATA[Stories by Ruben A (Hacker_Yogi) on Medium]]></description>
        <link>https://medium.com/@Hacker_Yogi?source=rss-99e1ae3d9927------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jRgxc5Kby5TrIAYgnoklGg.jpeg</url>
            <title>Stories by Ruben A (Hacker_Yogi) on Medium</title>
            <link>https://medium.com/@Hacker_Yogi?source=rss-99e1ae3d9927------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:09:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Hacker_Yogi/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[Hidden Reflected XSS on 403 Page.]]></title>
            <link>https://medium.com/@Hacker_Yogi/hidden-reflected-xss-on-403-page-0cbb46683138?source=rss-99e1ae3d9927------2</link>
            <guid isPermaLink="false">https://medium.com/p/0cbb46683138</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Ruben A (Hacker_Yogi)]]></dc:creator>
            <pubDate>Thu, 05 Sep 2024 23:38:33 GMT</pubDate>
            <atom:updated>2024-09-05T23:38:33.545Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ti9J1GhZGLbCgfhZ" /><figcaption>Photo by <a href="https://unsplash.com/@disruptxn?utm_source=medium&amp;utm_medium=referral">Desola Lanre-Ologun</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong>Introduction:-</strong></h4><p>In this blog post, I’m going to walk you through how I discovered a hidden vulnerability in an application that led to a Reflected Cross-Site Scripting (RxSS) exploit. The vulnerability was found in an unexpected place — the password reset functionality — hidden behind a 403 page that most researchers might overlook. This post will cover the methods I used, including bypass techniques, fuzzing, and manual testing, which ultimately led to uncovering a significant security flaw.</p><p><strong>Discovery of the Target:-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FMw24c6AtOI23W2NP4G_wg.png" /><figcaption>403 Forbidden</figcaption></figure><p>While exploring the <strong>example.com</strong> domain, I initially encountered a <strong>403 Forbidden</strong> page. Normally, I would skip fuzzing these kinds of pages since they usually block further exploration, but something urged me to dig deeper. Experience told me that there might be something valuable hidden behind this block.</p><p><strong>Fuzzing:-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-u75RFguIFh2E0zbybOrw.png" /></figure><p>Many researchers tend to avoid 403 pages after a few bypass attempts, but by using <strong>FFUF</strong> tool I discovered the /console/ directory, which revealed the login page of the application. I tried injecting my payloads on the login and password parameter but nothing was returned on the response.</p><p>After this, I thought about giving up but decided to try my luck by using recursive fuzzing on the /console/ endpoint. After a few minutes, I was shocked to find the password reset page hidden</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mFc0GhzmEKwqidFnEZnPYg.png" /></figure><p>Upon accessing the password reset page, I found several input fields and parameters. I started with the usual payload injections on the visible fields, but nothing seemed to work at first. However, a deeper look at the Burp Suite request history revealed something interesting: <strong>multiple hidden parameters</strong> were involved in communication with the server on the reset page</p><p><strong>Exploit:</strong>-</p><p>I decided to run further tests using <strong>Burp Suite’s Intruder, </strong>I loaded payloads into various parameters and tested them against the server. During the process I found a key hidden parameter “<strong>hdnPwdMinChar”. </strong>Upon injecting payloads into the “<strong>hdnPwdMinChar”</strong> parameter, I successfully triggered the traditional alert popup. payload:-”<strong>&lt;script&gt;alert(4443)&lt;/script&gt;”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*qwpqQae-nfBv6yydr6fWEQ.png" /></figure><p><strong>Key Takeaways:</strong></p><ul><li>Always test beyond the obvious inputs; hidden parameters can be a gold mine for vulnerabilities.</li><li>Use fuzzing and automation, but don’t underestimate the power of manual testing.</li><li>Hidden endpoints, especially those behind 403 pages, should be explored thoroughly.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*b5trw2i2XW01vk5Z" /><figcaption>Photo by <a href="https://unsplash.com/@ni000co?utm_source=medium&amp;utm_medium=referral">mo jiaming</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0cbb46683138" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug Bounty: Open Xmlrpc.php vulnerability on WordPress site.]]></title>
            <link>https://medium.com/@Hacker_Yogi/bug-bounty-open-xmlrpc-php-vulnerability-on-wordpress-site-723361febfaf?source=rss-99e1ae3d9927------2</link>
            <guid isPermaLink="false">https://medium.com/p/723361febfaf</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Ruben A (Hacker_Yogi)]]></dc:creator>
            <pubDate>Sat, 05 Mar 2022 15:00:59 GMT</pubDate>
            <atom:updated>2022-03-05T15:00:59.890Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-KDRttAz9jyV04nN" /><figcaption>Photo by <a href="https://unsplash.com/@tozakfikret?utm_source=medium&amp;utm_medium=referral">Fikret tozak</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>what is Xml-RPC?</strong></p><p>XML-RPC is an API used on the website which is built using WordPress. It gives developers who make mobile apps, desktop apps, and other services the ability to talk to your WordPress site. The XML-RPC API used on WordPress provides developers a way to write applications for you, which can be manually done when logged into WordPress via the web interface. yes, this API saves time and effort for WordPress developers.</p><p><strong>what is a Cross-site port attack (XSPA)?</strong></p><p>Cross-Site Port Attack (XSPA) is a type of Server Side Request Forgery (SSRF) vulnerability, where an attacker is able to scan the server for its open ports. This is usually done by using the loopback interface on the server (127.0.0.1 or localhost) with the addition of the port that is being scanned (21, 22, 25….etc).</p><p><strong>Attack and Proof of concept(POC):-</strong></p><p>Recently, I was scanning a program on Hackerone and came across an open xmlrpc.php endpoint. I can’t reveal this company, as it doesn’t allow public disclosure, so I will mention it as <a href="http://www.example.com./">www.example.com.</a></p><p><strong>Steps:-</strong></p><ol><li>) open this URL “<a href="https://dev.staging.superawesome.com/xmlrpc.php%22">example.com/xmlrpc.php&quot;</a> you can see the response as XML-RPC server accepts only POST requests.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*pxH4ZY4Q8A9AN3Sq9K0Zfg.jpeg" /></figure><p>2.) Now I intercepted the request using Burpsuite, then I changed the GET request to the POST method and forwarded it. To my surprise, I got 200 ok response but returned nothing.</p><p>3.) After i found out that it was accepting Xml and after a lot of research i found that the following XML commands returned something.</p><p>&lt;methodCall&gt;</p><p>&lt;methodName&gt;system.listMethods&lt;/methodName&gt;</p><p>&lt;params&gt;&lt;/params&gt;</p><p>&lt;/methodCall&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*50qYQWiaGMYouKIod7VItw.png" /><figcaption>burp response</figcaption></figure><p>4.) As you can see in the above image, the commands returned were methods allowed on the website. But most of them required Admin Privileges.</p><p>I found the pingback.ping method was allowed and this can be used to get the pingback of internal ip used. I used the below format and used Burp collaborator server for pingback and also you need to enter a valid url of the wordpress site.</p><p>Note: Burp collaborator server by default checks port 80 and 443 for pingbacks.</p><p>&lt;methodCall&gt;<br>&lt;methodName&gt;pingback.ping&lt;/methodName&gt;<br>&lt;params&gt;&lt;param&gt;<br>&lt;value&gt;&lt;string&gt;http://&lt;YOUR SERVER &gt;:&lt;port&gt;&lt;/string&gt;&lt;/value&gt;<br>&lt;/param&gt;&lt;param&gt;&lt;value&gt;&lt;string&gt;http://&lt;SOME VALID BLOG FROM THE SITE &gt;&lt;/string&gt;<br>&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;<br>&lt;/methodCall&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3wgPZFktM40ScBWxqLCjtA.jpeg" /><figcaption>Burp Response</figcaption></figure><p>5.) As you can see in the above message, it returned a fault code of 0. This means the port used is inactive. An attacker can simply brute force the port number to scan the open ports. If the fault code returns positive value above 0, it means the port is open.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*A2bGq1lZWOdIoILQmnAKVw.jpeg" /><figcaption>Burp Collaborator</figcaption></figure><p>6.) You can also see that I got a pingback from the burp collaborator.</p><p><strong>Impact:-</strong></p><p>1.) An attacker can use this site to conduct SSRF or cross-site port attacks — (XSPA) to determine the open ports.</p><p>2.) It is possible to automate the entire process, to create DOS or DDOS attack.</p><p><strong>Mitigation:-</strong></p><p>You can easily disable XML-RPC using the .htaccess file or by a WordPress plugin.</p><p>Note: Since the impact level is highly a Dos attack, This bug is not accepted in the majority of bug bounty programs. So please check the bugs that are out of scope.</p><p><strong>Reference:-</strong></p><p><a href="https://blog.wpsec.com/xml-rpc/">https://blog.wpsec.com/xml-rpc/</a> <a href="https://nitesculucian.github.io/2019/07/01/exploiting-the-xmlrpc-php-on-all-wordpress-versions/">https://nitesculucian.github.io/2019/07/01/exploiting-the-xmlrpc-php-on-all-wordpress-versions/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YsM7DeGU3cTS2090" /><figcaption>Photo by <a href="https://unsplash.com/@hannynaibaho?utm_source=medium&amp;utm_medium=referral">Hanny Naibaho</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=723361febfaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BugBounty: Algolia key disclosure vulnerability]]></title>
            <link>https://medium.com/@Hacker_Yogi/bugbounty-algolia-key-disclosure-vulnerability-be18a1cb3535?source=rss-99e1ae3d9927------2</link>
            <guid isPermaLink="false">https://medium.com/p/be18a1cb3535</guid>
            <category><![CDATA[disclosure]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[bug-fixes]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[vulnerability]]></category>
            <dc:creator><![CDATA[Ruben A (Hacker_Yogi)]]></dc:creator>
            <pubDate>Sun, 20 Feb 2022 08:29:47 GMT</pubDate>
            <atom:updated>2022-02-20T08:29:47.964Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*svk_UvRbmP8ZixbR" /><figcaption>Photo by <a href="https://unsplash.com/@ringane?utm_source=medium&amp;utm_medium=referral">Neringa Hünnefeld</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>What is Algolia?</h3><p>Algolia is a search-based Api, that empowers many websites using their powerful search function. This API lets a developer to build a custom search suggestion, based on indexes derived from the contents used by a specific company on their website.</p><h3>Vulnerability:-</h3><p>If the Algolia Api is misconfigured and has permissions allowed to leak Indexes then this can lead to the disclosure of sensitive info like internal company documents, security policies, and connecting procedures to internal systems &amp; VPN.</p><h3>Proof of concept(POC):-</h3><p>I can’t disclose where I found this vulnerability, as the company had a private program and restricts disclosing anything public.</p><p>1.) Use the below format to craft an Algolia Api request using the disclosed APP ID and Algolia Api key. This curl command will list all the allowed permissions.</p><p>curl “ <a href="https://appid-dsn.algolia.net/1/keys/APIKEY?x-algolia-application-id=APPID&amp;x-algolia-api-key=APIKEY">https://APPID-dsn.algolia.net/1/keys/APIKEY?x-algolia-application-id=APPID&amp;x-algolia-api-key=APIKEY</a> “ | jq</p><p>2.) If the curl command returns all the allowed permissions similar to the response below, then the site is vulnerable. It should be noted that anything other than “search” must be not listed after the “acl”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjHEAsEuuG6up6eHwliDMw.jpeg" /></figure><h3>Impact:-</h3><p>The damaging permissions are:</p><p>“listIndexes” — allowed to get a list of all existing indices.</p><p>“browse” — allowed to retrieve all index data with the browse endpoint.</p><p>“settings” — allowed to read all index settings.</p><p>In the worst-case scenario, if “EditSettings” is enabled, it will allow javascript to execute in the Admin dashboard resulting in a guaranteed Remote Code Execution.</p><h3>Mitigation:-</h3><p>1.) In The Algolia dashboard make sure you enable search-only Api Key, as it gives only allows search permission. Then disable all the other permissions.</p><p>(or)</p><p>2. ) Algolia also have a new feature of “Secure-keys”, which is a separate identifier from the Application and can be used to reduce the scope of the search-only API key.</p><p>reference: <a href="https://www.algolia.com/doc/api-reference/api-methods/get-api-key/">https://www.algolia.com/doc/api-reference/api-methods/get-api-key/</a> <a href="https://www.algolia.com/doc/guides/security/api-keys/#search-only-api-key">https://www.algolia.com/doc/guides/security/api-keys/#search-only-api-key</a> <a href="https://www.secjuice.com/api-misconfiguration-data-breach/">https://www.secjuice.com/api-misconfiguration-data-breach/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g7V-uBS5svAbYV6J" /><figcaption>Photo by <a href="https://unsplash.com/@howier?utm_source=medium&amp;utm_medium=referral">Howie R</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be18a1cb3535" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>