{"id":310,"date":"2021-06-27T17:00:05","date_gmt":"2021-06-27T11:30:05","guid":{"rendered":"https:\/\/www.pethuraj.com\/blog\/?p=310"},"modified":"2021-07-18T20:19:37","modified_gmt":"2021-07-18T14:49:37","slug":"escalating-xss-to-arbitrary-file-read","status":"publish","type":"post","link":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/","title":{"rendered":"Escalating XSS to Arbitrary File Read"},"content":{"rendered":"\n<p>Hello guys!!<br>I am back again with an interesting writeup! This is one of my oldest writeup.<br>It is all about how I was able to escalate the XSS vulnerability to read internal files.<\/p>\n\n\n\n<p>I&#8217;m not sharing the website details due to confidentiality of the program.<\/p>\n\n\n\n<p>So just like this is a normal web application and it\u2019s functionality is to generate dynamic pages.<\/p>\n\n\n\n<p>Mostly if we find reflected xss vulnerability we all aim to make it stored xss to make severe impact.<\/p>\n\n\n\n<p>This is a web application which lets users to generate dynamic pages and to create and maintain websites. After analysing the website I tried to break it.<\/p>\n\n\n\n<p>Since this is a web application generator page, it have lot of input fields which is stored on to the server. After analysing the application I observed there may be possibility to read internal files.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"285\" src=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-payload-1024x285.png\" alt=\"\" class=\"wp-image-318\" srcset=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-payload-1024x285.png 1024w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-payload-300x83.png 300w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-payload-768x213.png 768w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-payload.png 1504w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I tried with XSS payload on one of the text field and found script tags were blocked.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"384\" src=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-Blocked-1024x384.png\" alt=\"\" class=\"wp-image-319\" srcset=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-Blocked-1024x384.png 1024w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-Blocked-300x113.png 300w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-Blocked-768x288.png 768w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-Blocked.png 1290w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>So I tried to bypass the xss filter and it was quite easy in this case with appending the Null byte character(%00). And I found it was DOM based XSS vulnerability.<\/p>\n\n\n\n<p>Here\u2019s the blog that helped me to achieve this vulnerability &#8211; <a href=\"https:\/\/book.hacktricks.xyz\/pentesting-web\/xss-cross-site-scripting\/server-side-xss-dynamic-pdf\" target=\"_blank\" rel=\"noreferrer noopener\"><u>Server Side XSS Vulnerability to Read Internal Files<\/u><\/a> and <a href=\"https:\/\/blog.noob.ninja\/local-file-read-via-xss-in-dynamically-generated-pdf\/\" target=\"_blank\" rel=\"noreferrer noopener\">Local File Read via XSS<\/a><\/p>\n\n\n\n<p>I tried with many payloads but no luck then I modified the payload as per the behaviour of the application.<\/p>\n\n\n\n<p><strong>Payload:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> &lt;script%00&gt;\n x=new XMLHttpRequest;\n x.onload=function(){document.write(this.responseText)};\n x.open(\"GET\",\"file:\/\/\/etc\/passwd\");x.send();\n &lt;\/script%00&gt; \n\n\n\n<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"298\" src=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-to-File-Read-Payload-1024x298.png\" alt=\"\" class=\"wp-image-317\" srcset=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-to-File-Read-Payload-1024x298.png 1024w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-to-File-Read-Payload-300x87.png 300w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-to-File-Read-Payload-768x224.png 768w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/XSS-to-File-Read-Payload.png 1312w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally this payload worked and I was able to read the internal files on the pop up and web page as well.<\/p>\n\n\n\n<p>The web page was broken and I was able to read the contents of <strong>etc\/passwd<\/strong> file which is impactful and found to be high severity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"286\" src=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Arbitrary-File-Read-via-XSS-1024x286.png\" alt=\"\" class=\"wp-image-316\" srcset=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Arbitrary-File-Read-via-XSS-1024x286.png 1024w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Arbitrary-File-Read-via-XSS-300x84.png 300w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Arbitrary-File-Read-via-XSS-768x215.png 768w, https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Arbitrary-File-Read-via-XSS.png 1514w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>For reporting this High severity vulnerability, I was awarded with a bounty <a href=\"https:\/\/emojipedia.org\/money-bag\/\">\ud83d\udcb0<\/a><\/p>\n\n\n\n<p><strong>Get in touch with me &#8211; <\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/Pethuraj\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/twitter.com\/Pethuraj<\/a><br><a href=\"https:\/\/www.linkedin.com\/in\/pethu\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.linkedin.com\/in\/pethu\/<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This writeup is about how I was able to escalate thr XSS vulnerability to read the internal files.<\/p>\n","protected":false},"author":1,"featured_media":315,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,8],"tags":[11,3],"class_list":["post-310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arbitrary-file-read","category-xss","tag-arbitrary-file-read","tag-xss"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"This writeup is about how I was able to escalate thr XSS vulnerability to read the internal files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/\" \/>\n<meta property=\"og:site_name\" content=\"Pethuraj&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-27T11:30:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-18T14:49:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\" \/>\n<meta name=\"twitter:creator\" content=\"@Pethuraj\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#\\\/schema\\\/person\\\/6753ae21567c179c4592cb8ed33406aa\"},\"headline\":\"Escalating XSS to Arbitrary File Read\",\"datePublished\":\"2021-06-27T11:30:05+00:00\",\"dateModified\":\"2021-07-18T14:49:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/\"},\"wordCount\":323,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\",\"keywords\":[\"Arbitrary File Read\",\"XSS\"],\"articleSection\":[\"Arbitrary File Read\",\"XSS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/\",\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/\",\"name\":\"Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\",\"datePublished\":\"2021-06-27T11:30:05+00:00\",\"dateModified\":\"2021-07-18T14:49:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\",\"contentUrl\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/06\\\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png\",\"width\":800,\"height\":400,\"caption\":\"Escalating Reflected XSS to Arbitrary File Read (1)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/escalating-xss-to-arbitrary-file-read\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Escalating XSS to Arbitrary File Read\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/\",\"name\":\"Pethuraj&#039;s Blog\",\"description\":\"Bug Bounty Writeups\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#organization\",\"name\":\"Pethuraj&#039;s Blog\",\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/pethuraj.png\",\"contentUrl\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/pethuraj.png\",\"width\":949,\"height\":268,\"caption\":\"Pethuraj&#039;s Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/#\\\/schema\\\/person\\\/6753ae21567c179c4592cb8ed33406aa\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/pethuraj.com\\\/blog\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/pethu\\\/\",\"https:\\\/\\\/x.com\\\/Pethuraj\"],\"url\":\"https:\\\/\\\/www.pethuraj.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/","og_locale":"en_US","og_type":"article","og_title":"Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog","og_description":"This writeup is about how I was able to escalate thr XSS vulnerability to read the internal files.","og_url":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/","og_site_name":"Pethuraj&#039;s Blog","article_published_time":"2021-06-27T11:30:05+00:00","article_modified_time":"2021-07-18T14:49:37+00:00","og_image":[{"width":800,"height":400,"url":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","twitter_creator":"@Pethuraj","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#article","isPartOf":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/"},"author":{"name":"admin","@id":"https:\/\/www.pethuraj.com\/blog\/#\/schema\/person\/6753ae21567c179c4592cb8ed33406aa"},"headline":"Escalating XSS to Arbitrary File Read","datePublished":"2021-06-27T11:30:05+00:00","dateModified":"2021-07-18T14:49:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/"},"wordCount":323,"publisher":{"@id":"https:\/\/www.pethuraj.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","keywords":["Arbitrary File Read","XSS"],"articleSection":["Arbitrary File Read","XSS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/","url":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/","name":"Escalating XSS to Arbitrary File Read - Pethuraj&#039;s Blog","isPartOf":{"@id":"https:\/\/www.pethuraj.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#primaryimage"},"image":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","datePublished":"2021-06-27T11:30:05+00:00","dateModified":"2021-07-18T14:49:37+00:00","breadcrumb":{"@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#primaryimage","url":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","contentUrl":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/06\/Escalating-Reflected-XSS-to-Arbitrary-File-Read-1.png","width":800,"height":400,"caption":"Escalating Reflected XSS to Arbitrary File Read (1)"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pethuraj.com\/blog\/escalating-xss-to-arbitrary-file-read\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pethuraj.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Escalating XSS to Arbitrary File Read"}]},{"@type":"WebSite","@id":"https:\/\/www.pethuraj.com\/blog\/#website","url":"https:\/\/www.pethuraj.com\/blog\/","name":"Pethuraj&#039;s Blog","description":"Bug Bounty Writeups","publisher":{"@id":"https:\/\/www.pethuraj.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pethuraj.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pethuraj.com\/blog\/#organization","name":"Pethuraj&#039;s Blog","url":"https:\/\/www.pethuraj.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pethuraj.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/05\/pethuraj.png","contentUrl":"https:\/\/www.pethuraj.com\/blog\/wp-content\/uploads\/2021\/05\/pethuraj.png","width":949,"height":268,"caption":"Pethuraj&#039;s Blog"},"image":{"@id":"https:\/\/www.pethuraj.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.pethuraj.com\/blog\/#\/schema\/person\/6753ae21567c179c4592cb8ed33406aa","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62aeafbe8da471ade35eb14bbbac3f6c7206b2574d0889bd6b1128fb61ca5644?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/pethuraj.com\/blog","https:\/\/www.linkedin.com\/in\/pethu\/","https:\/\/x.com\/Pethuraj"],"url":"https:\/\/www.pethuraj.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":13,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"predecessor-version":[{"id":334,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions\/334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/media\/315"}],"wp:attachment":[{"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pethuraj.com\/blog\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}