{"id":9,"date":"2014-02-21T17:10:20","date_gmt":"2014-02-21T12:10:20","guid":{"rendered":"http:\/\/www.chmosama.com\/blog\/?p=9"},"modified":"2017-12-24T15:18:29","modified_gmt":"2017-12-24T10:18:29","slug":"cross-site-scripting-xss-found-in-123contactform","status":"publish","type":"post","link":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/","title":{"rendered":"Cross Site Scripting (XSS) Found in 123ContactForm"},"content":{"rendered":"<p style=\"text-align: justify;\">Ch. Muhammad Osama, an independent vulnerability researcher has discovered a Cross-Site Scripting (XSS) vulnerability in 123contactform.com, which can be exploited by an attacker to conduct XSS attacks.<\/p>\n<p style=\"text-align: justify;\"><strong>Cross-Site Scripting:-<\/strong><\/p>\n<p style=\"text-align: justify;\">Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted web sites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.<\/p>\n<p style=\"text-align: justify;\">An attacker can use XSS to send a malicious script to an unsuspecting user. The end user\u2019s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page.<\/p>\n<p style=\"text-align: justify;\"><strong>Proof of Concept :-<\/strong><\/p>\n<p style=\"text-align: justify;\">URL :-\u00a0<a href=\"http:\/\/www.123contactform.com\/index.php?domain=1%3Cimg%20src=x%20onerror=prompt%281%29%3E&amp;module=login&amp;p=new_user_validate&amp;plan=0&amp;sid=1v3di81f8htapinfjt2k0es3b5&amp;u_openidtype=1\" target=\"_blank\" rel=\"noopener\">POC Link Here<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-8 size-large\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-poc-1024x494.jpg\" alt=\"123-poc\" width=\"525\" height=\"253\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-poc-1024x494.jpg 1024w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-poc-300x145.jpg 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-poc-768x371.jpg 768w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-poc.jpg 1365w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong>Conclusion:-<\/strong><\/p>\n<p style=\"text-align: justify;\">This vulnerability has been confirmed and patched by 123ContactForm Security Team. I would like to thank them for their quick response to my report.<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-7\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-hof-1024x465.jpg\" alt=\"123-hof\" width=\"525\" height=\"238\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-hof-1024x465.jpg 1024w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-hof-300x136.jpg 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-hof-768x349.jpg 768w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123-hof.jpg 1365w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p style=\"text-align: center;\"><strong>Status: Fixed!<\/strong><br \/>\n<strong> Hall of Fame: Yes!<\/strong><br \/>\n<strong> Bounty: No!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ch. Muhammad Osama, an independent vulnerability researcher has discovered a Cross-Site Scripting (XSS) vulnerability in 123contactform.com, which can be exploited by an attacker to conduct XSS attacks. Cross-Site Scripting:- Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,6,8,7],"class_list":["post-9","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-poc","tag-123contactform","tag-poc","tag-vulnerability","tag-xss"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama<\/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.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama\" \/>\n<meta property=\"og:description\" content=\"Ch. Muhammad Osama, an independent vulnerability researcher has discovered a Cross-Site Scripting (XSS) vulnerability in 123contactform.com, which can be exploited by an attacker to conduct XSS attacks. Cross-Site Scripting:- Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted web [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Choudhary Muhammad Osama\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/chmosama\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/chmosama\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-21T12:10:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-24T10:18:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Choudhary Muhammad Osama\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ChMuhammadOsama\" \/>\n<meta name=\"twitter:site\" content=\"@ChMuhammad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Choudhary Muhammad Osama\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/\",\"url\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/\",\"name\":\"Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama\",\"isPartOf\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg\",\"datePublished\":\"2014-02-21T12:10:20+00:00\",\"dateModified\":\"2017-12-24T10:18:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage\",\"url\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg\",\"contentUrl\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg\",\"width\":1280,\"height\":720,\"caption\":\"123\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.chmosama.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cross Site Scripting (XSS) Found in 123ContactForm\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#website\",\"url\":\"https:\/\/www.chmosama.com\/blog\/\",\"name\":\"Blog - Choudhary Muhammad Osama\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.chmosama.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7\",\"name\":\"Choudhary Muhammad Osama\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g\",\"caption\":\"Choudhary Muhammad Osama\"},\"description\":\"This is Choudhary Muhammad Osama, a highly accomplished Penetration Tester, Security Analyst and Linux Administration enthusiast, with extensive experience in implementing, maintaining, securing and pentesting web applications and networks.\",\"sameAs\":[\"https:\/\/www.chmosama.com\",\"https:\/\/www.facebook.com\/chmosama\",\"https:\/\/x.com\/ChMuhammadOsama\"],\"url\":\"http:\/\/www.chmosama.com\/blog\/author\/chmosama\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama","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.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/","og_locale":"en_US","og_type":"article","og_title":"Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama","og_description":"Ch. Muhammad Osama, an independent vulnerability researcher has discovered a Cross-Site Scripting (XSS) vulnerability in 123contactform.com, which can be exploited by an attacker to conduct XSS attacks. Cross-Site Scripting:- Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted web [&hellip;]","og_url":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/","og_site_name":"Blog - Choudhary Muhammad Osama","article_publisher":"https:\/\/www.facebook.com\/chmosama","article_author":"https:\/\/www.facebook.com\/chmosama","article_published_time":"2014-02-21T12:10:20+00:00","article_modified_time":"2017-12-24T10:18:29+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg","type":"image\/jpeg"}],"author":"Choudhary Muhammad Osama","twitter_card":"summary_large_image","twitter_creator":"@ChMuhammadOsama","twitter_site":"@ChMuhammad","twitter_misc":{"Written by":"Choudhary Muhammad Osama","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/","url":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/","name":"Cross Site Scripting (XSS) Found in 123ContactForm - Blog - Choudhary Muhammad Osama","isPartOf":{"@id":"https:\/\/www.chmosama.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage"},"image":{"@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage"},"thumbnailUrl":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg","datePublished":"2014-02-21T12:10:20+00:00","dateModified":"2017-12-24T10:18:29+00:00","author":{"@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7"},"breadcrumb":{"@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#primaryimage","url":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg","contentUrl":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/08\/123.jpg","width":1280,"height":720,"caption":"123"},{"@type":"BreadcrumbList","@id":"https:\/\/www.chmosama.com\/blog\/cross-site-scripting-xss-found-in-123contactform\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.chmosama.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Cross Site Scripting (XSS) Found in 123ContactForm"}]},{"@type":"WebSite","@id":"https:\/\/www.chmosama.com\/blog\/#website","url":"https:\/\/www.chmosama.com\/blog\/","name":"Blog - Choudhary Muhammad Osama","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.chmosama.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7","name":"Choudhary Muhammad Osama","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g","caption":"Choudhary Muhammad Osama"},"description":"This is Choudhary Muhammad Osama, a highly accomplished Penetration Tester, Security Analyst and Linux Administration enthusiast, with extensive experience in implementing, maintaining, securing and pentesting web applications and networks.","sameAs":["https:\/\/www.chmosama.com","https:\/\/www.facebook.com\/chmosama","https:\/\/x.com\/ChMuhammadOsama"],"url":"http:\/\/www.chmosama.com\/blog\/author\/chmosama\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":3,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions\/207"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/media\/6"}],"wp:attachment":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}