<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>mastomi.id</title><description>A cybersecurity expert with a passion for programming, web development, and creative coding.</description><link>https://mastomi.id/</link><item><title>Stop Your Website from Serving Online Gambling Content with Cloudflare Workers</title><link>https://mastomi.id/articles/2025-01/stop-your-website-serving-online-gambling-content-with-cloudflare-workers/</link><guid isPermaLink="true">https://mastomi.id/articles/2025-01/stop-your-website-serving-online-gambling-content-with-cloudflare-workers/</guid><description>When a site is compromised to host gambling spam, you can stop the pages from reaching visitors before you have found the hole. A Cloudflare Worker reads each response and refuses to serve the ones that contain gambling keywords.</description><pubDate>Wed, 15 Jan 2025 00:45:22 GMT</pubDate><category>cybersecurity</category><category>defacement</category><category>cloudflare workers</category><author>Tomi</author></item><item><title>Full Local File Read via Error Based XXE using XLIFF File</title><link>https://mastomi.id/articles/2021-06/full-local-file-read-via-error-based-xxe-using-xliff-file/</link><guid isPermaLink="true">https://mastomi.id/articles/2021-06/full-local-file-read-via-error-based-xxe-using-xliff-file/</guid><description>A localization upload parsed XLIFF, which is XML. Out-of-band XXE only leaked single-line files on Java 1.8, so I made the parser put whole files into its own error messages.</description><pubDate>Sat, 19 Jun 2021 18:38:44 GMT</pubDate><category>xxe</category><category>xliff</category><category>file disclosure</category><category>bug bounty</category><category>xml</category><author>Tomi</author></item><item><title>SSRF in PDF Renderer using SVG</title><link>https://mastomi.id/articles/2021-05/ssrf-in-pdf-renderer-using-svg/</link><guid isPermaLink="true">https://mastomi.id/articles/2021-05/ssrf-in-pdf-renderer-using-svg/</guid><description>A Bugcrowd target converted user-supplied SVG into PDF with PhantomJS. Wrapping an iframe in foreignObject made the renderer fetch the AWS metadata service and print it into the PDF.</description><pubDate>Wed, 19 May 2021 00:32:21 GMT</pubDate><category>ssrf</category><category>svg</category><category>pdf renderer</category><category>aws metadata</category><category>bug bounty</category><author>Tomi</author></item><item><title>From Git Folder Disclosure to Remote Code Execution</title><link>https://mastomi.id/articles/2020-12/from-git-folder-disclosure-to-remote-code-execution/</link><guid isPermaLink="true">https://mastomi.id/articles/2020-12/from-git-folder-disclosure-to-remote-code-execution/</guid><description>A black-box target with only a login page. An exposed .git folder gave me the source, directory listing gave me the user database, and the avatar upload accepted a .png.php file.</description><pubDate>Fri, 04 Dec 2020 00:27:18 GMT</pubDate><category>git disclosure</category><category>rce</category><category>file upload bypass</category><category>php</category><category>bug bounty</category><author>Tomi</author></item><item><title>From Unvalidated Redirect and Parameter Tampering to Account Takeover</title><link>https://mastomi.id/articles/2020-06/from-unvalidated-redirect-and-parameter-tampering-to-account-takeover/</link><guid isPermaLink="true">https://mastomi.id/articles/2020-06/from-unvalidated-redirect-and-parameter-tampering-to-account-takeover/</guid><description>An SSO callback that accepted any host was a weak bug on its own. A hidden callback parameter in the password reset flow turned it into a full account takeover delivered by the site&apos;s own email.</description><pubDate>Sun, 14 Jun 2020 00:20:25 GMT</pubDate><category>unvalidated redirect</category><category>parameter tampering</category><category>account takeover</category><category>bug bounty</category><author>Tomi</author></item><item><title>How I accidentally found Bug in Google Search Console</title><link>https://mastomi.id/articles/2020-01/how-i-accidentally-found-bug-in-google-search-console/</link><guid isPermaLink="true">https://mastomi.id/articles/2020-01/how-i-accidentally-found-bug-in-google-search-console/</guid><description>I added google.com to my Google Search Console account, failed to verify it, and a few days later started receiving Search Console updates for google.com anyway.</description><pubDate>Sat, 18 Jan 2020 00:16:34 GMT</pubDate><category>access control</category><category>google</category><category>search console</category><category>information disclosure</category><category>bug bounty</category><author>Tomi</author></item><item><title>XSS to Account Takeover - Bypassing CSRF Header Protection and HTTPOnly Cookie</title><link>https://mastomi.id/articles/2019-10/xss-to-account-takeover-bypassing-csrf-header-protection-and-httponly-cookie/</link><guid isPermaLink="true">https://mastomi.id/articles/2019-10/xss-to-account-takeover-bypassing-csrf-header-protection-and-httponly-cookie/</guid><description>A stored XSS where document.cookie came back empty. Instead of stealing the session, I made the victim&apos;s own browser fetch a fresh CSRF token and change the account email.</description><pubDate>Tue, 29 Oct 2019 00:10:33 GMT</pubDate><category>xss</category><category>csrf bypass</category><category>account takeover</category><category>cookie manipulation</category><category>bug bounty</category><author>Tomi</author></item><item><title>Exploiting Cookie Based XSS by Finding RCE</title><link>https://mastomi.id/articles/2019-09/exploiting-cookie-based-xss-by-finding-rce/</link><guid isPermaLink="true">https://mastomi.id/articles/2019-09/exploiting-cookie-based-xss-by-finding-rce/</guid><description>A cookie-based XSS stays a self-XSS until something can set the cookie for you. I went looking for that something on an out-of-scope subdomain and came back with a shell on it.</description><pubDate>Sun, 22 Sep 2019 00:51:14 GMT</pubDate><category>cookie based xss</category><category>sql injection</category><category>rce</category><category>privilege escalation</category><category>bug bounty</category><author>Tomi</author></item><item><title>AWS Metadata Disclosure via &quot;Hardcoded Host&quot; Download Function</title><link>https://mastomi.id/articles/2019-08/aws-metadata-disclosure-via-hardcoded-host-download-function/</link><guid isPermaLink="true">https://mastomi.id/articles/2019-08/aws-metadata-disclosure-via-hardcoded-host-download-function/</guid><description>A PDF download link prepended a fixed CDN host to the file path. An @ in the path moved the request to my server, and an HTTPS-to-HTTP redirect took it on to the AWS metadata service.</description><pubDate>Wed, 21 Aug 2019 00:43:52 GMT</pubDate><category>aws metadata</category><category>ssrf</category><category>hardcoded host</category><category>bug bounty</category><author>Tomi</author></item><item><title>Reflected XSS on Error Page</title><link>https://mastomi.id/articles/2019-06/reflected-xss-on-error-page/</link><guid isPermaLink="true">https://mastomi.id/articles/2019-06/reflected-xss-on-error-page/</guid><description>A path traversal attempt on a file download endpoint failed, but the error page it produced printed my input back without encoding. The bug was in the error page, not the download.</description><pubDate>Tue, 11 Jun 2019 00:35:14 GMT</pubDate><category>reflected xss</category><category>xss</category><category>bug bounty</category><category>error page</category><author>Tomi</author></item><item><title>How I Found Multiple Vulnerabilities on antihack.me</title><link>https://mastomi.id/articles/2019-01/how-i-found-multiple-vulnerabilities-on-antihack-me/</link><guid isPermaLink="true">https://mastomi.id/articles/2019-01/how-i-found-multiple-vulnerabilities-on-antihack-me/</guid><description>Two bugs on a bug bounty platform&apos;s own site: a magazine download link that read any file on the server, including Laravel&apos;s .env, and a delete button that removed any file.</description><pubDate>Fri, 11 Jan 2019 00:27:02 GMT</pubDate><category>bug bounty</category><category>local file disclosure</category><category>idor</category><category>file inclusion</category><category>antihack.me</category><author>Tomi</author></item><item><title>Blind XSS on Tokopedia&apos;s Internal Panel</title><link>https://mastomi.id/articles/2018-10/blind-xss-on-tokopedia-internal-panel/</link><guid isPermaLink="true">https://mastomi.id/articles/2018-10/blind-xss-on-tokopedia-internal-panel/</guid><description>I put an XSS payload in the Name field of Tokopedia&apos;s product report form. It stayed silent for days, then fired inside the internal panel the review team used to read the report.</description><pubDate>Thu, 04 Oct 2018 00:17:51 GMT</pubDate><category>blind xss</category><category>xss</category><category>bug bounty</category><category>tokopedia</category><author>Tomi</author></item></channel></rss>