<?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 xbz0n on Medium]]></title>
        <description><![CDATA[Stories by xbz0n on Medium]]></description>
        <link>https://medium.com/@xbz0n?source=rss-583ddbdd1a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*v1KKPdqyK8PYegugFrdHdw@2x.jpeg</url>
            <title>Stories by xbz0n on Medium</title>
            <link>https://medium.com/@xbz0n?source=rss-583ddbdd1a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:41:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@xbz0n/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[An In-Depth Look at PEN-300 and OSEP: Succeeding in the Offensive Security Path]]></title>
            <link>https://infosecwriteups.com/an-in-depth-look-at-pen-300-and-osep-succeeding-in-the-offensive-security-path-85c286b64467?source=rss-583ddbdd1a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/85c286b64467</guid>
            <category><![CDATA[osep]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[penetration-testing-tools]]></category>
            <dc:creator><![CDATA[xbz0n]]></dc:creator>
            <pubDate>Sun, 09 Jul 2023 17:03:24 GMT</pubDate>
            <atom:updated>2023-07-09T17:03:24.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*mZqZxkyRPw3CwCo2tXC38g.png" /></figure><p>In the dynamic landscape of penetration testing, knowledge growth is a perpetual journey. Leading this learning curve is the Offensive Security Experienced Penetration Tester (OSEP) certification, offered through the PEN-300 course by Offensive Security. This credential is a renowned benchmark for advanced penetration testers and red teamers around the globe. This article shares my personal experience with the course, discussing the interesting hurdles I encountered and the joy of passing the final exam successfully.</p><p><strong>The Genesis: Setting the Groundwork</strong></p><p>Embracing the PEN-300 course requires an individual to immerse themselves in a world of complex cyber threat landscapes and advanced penetration techniques. Spread over 90 days, this course required me to dedicate between 24 to 32 hours per week, a commitment that was divided between video lectures, reading course materials, and performing lab exercises. The provided course materials, which included in-depth PDF and video lectures, played a pivotal role in setting a steady pace and structure for my learning journey.</p><p><strong>Curriculum Design: A Structured Approach to Learning</strong></p><p>The design of the PEN-300 course is ingenious. The course is cleverly designed, beginning with simple topics and gradually becoming more complex to mimic the tricky situations you might face in actual penetration testing. One of the standout features of the course design is the “Extra Miles” challenges. These are exercises designed to push you outside your comfort zone, compelling you to think beyond the conventional frameworks and explore creative problem-solving methods.</p><p><strong>Lab Exercises: Practical Application of Theoretical Knowledge</strong></p><p>The PEN-300 course heavily emphasizes hands-on lab exercises. These labs offered a platform to apply the theoretical concepts and techniques learned from the lectures in a controlled, safe environment. Each lab, including the ‘Extra Miles’ exercises, was designed to present unique learning scenarios that required multiple attempts and a lot of revisits, ensuring a thorough understanding and mastery of the concepts.</p><p><strong>Mastering AMSI Bypass and AV evasion Techniques and Tactics</strong></p><p>A significant portion of the PEN-300 course was dedicated to mastering the Anti-Malware Scan Interface (AMSI) bypass techniques and AV evasion tactics. The process of understanding, developing, and executing AMSI bypasses formed an integral part of the curriculum, providing me with an essential skill set that would prove invaluable when faced with high-security systems in real-world scenarios. This segment was both a challenging and enlightening experience.</p><p><strong>The Ultimate Challenge: The Exam</strong></p><p>The PEN-300 course culminated in a challenging exam that required capturing flags in a simulated network. The exam spanned over two days (48 hours) and tested not only the knowledge I had acquired over the course but also my endurance, determination, and problem-solving abilities.</p><p>For the exam, I utilised the custom tools I had developed during the labs. The need to adapt these tools to various scenarios underscored the importance of understanding their functionalities and potential limitations. These custom tools were not just a learning experience, but an essential part of automating processes and moving faster in the exam. They allowed me to create custom payloads, shells, evasions, and more.</p><p><strong>Creating Custom Tools: Stepping Up the Game</strong></p><p>The PEN-300 course strongly emphasises creating custom tools to exploit system vulnerabilities. This aspect of the course allowed me to create Fully Undetected (FUD) payloads, which are capable of bypassing standard defense mechanisms. Developing these tools not only added a powerful weapon to my arsenal but also provided valuable practical experience, preparing me for real-world, high-stakes scenarios.</p><p>Some of these custom tools that I developed can be found on my GitHub account at <a href="https://github.com/xbz0n">GitHub.com/xbz0n</a>.</p><p><strong>Enhancing Skills: Bridging the Gap Between Theory and Practice</strong></p><p>The PEN-300 course has significantly boosted my skills in many areas. Beyond learning the nuts and bolts of advanced exploitation, the course also taught me the importance of persevering, thinking creatively, and navigating through challenges. This journey enhanced my technical knowledge, and problem-solving skills, and honed my ability to persevere in the face of adversity.</p><p><strong>Final Thoughts: The Payoff</strong></p><p>This journey has enriched my professional portfolio and equipped me with the skills, knowledge, and confidence to face complex penetration testing scenarios.</p><p>Obtaining the OSEP was a demanding yet rewarding endeavor. True to Offensive Security’s mantra, ‘Try Harder,’ the course demanded perseverance, dedication, and an insatiable curiosity about penetration testing. My journey to OSEP is a testament to the robustness of the course and the valuable skills it imparts. These skills and experiences are invaluable to any penetration tester or red teamer looking to expand their capabilities and delve into the fascinating world of advanced exploitation techniques.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1B-guYnw2Rn8WyM0b_bDBg.jpeg" /></figure><p>The journey was challenging but exciting, and the triumphant success in the exam was a satisfying culmination of this journey. The real-world skills I gained will be instrumental in my professional journey, and I am confident in taking on even more significant challenges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85c286b64467" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/an-in-depth-look-at-pen-300-and-osep-succeeding-in-the-offensive-security-path-85c286b64467">An In-Depth Look at PEN-300 and OSEP: Succeeding in the Offensive Security Path</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploiting Remote Command Execution Vulnerability in EasyNAS]]></title>
            <link>https://infosecwriteups.com/exploiting-remote-command-execution-vulnerability-in-easynas-e1db70c93186?source=rss-583ddbdd1a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1db70c93186</guid>
            <category><![CDATA[os-command-injection]]></category>
            <category><![CDATA[nas-exploitation]]></category>
            <category><![CDATA[command-injection]]></category>
            <category><![CDATA[exploit-development]]></category>
            <category><![CDATA[cve-2023-0830]]></category>
            <dc:creator><![CDATA[xbz0n]]></dc:creator>
            <pubDate>Tue, 14 Feb 2023 16:40:00 GMT</pubDate>
            <atom:updated>2023-03-21T13:03:36.561Z</atom:updated>
            <content:encoded><![CDATA[<p>Exploiting the vulnerability and gaining root privileges (CVE-2023–0830)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*WOrsQQYOP4wnwcB8p9kPAA.png" /></figure><p><strong>Introduction:</strong></p><p>Recently, I discovered a vulnerability which was in a backup and restore script used in EasyNAS, a popular open-source network-attached storage (NAS) solution. The CVE-2023–0830 is published on <a href="https://vuldb.com/?id.220950">https://vuldb.com/?id.220950</a> . The vulnerability, which allows for arbitrary command execution with root privileges, can be exploited by an attacker to delete important system files, modify or steal sensitive data, or even gain unauthorized access to the system. In this blog post, I will show how an attacker can exploit this vulnerability by crafting a malicious GET request to the WebUI of the EasyNAS system, I will show the vulnerable script code and how to mitigate the issue.</p><p><strong>Details of the Vulnerability:</strong></p><p>The vulnerability is present in the backup and restore script, which is used to create and restore backups of the EasyNAS system. The script is written in Perl and is executed through the web interface of the EasyNAS system. The vulnerability lies in the use of the system function to execute a command with user-supplied input. The following is the vulnerable script code:</p><pre>$rc=system(&quot;/usr/bin/sudo /usr/bin/tar cvf $mount_dir/$vol/$file @config_files &gt; /dev/null&quot; );</pre><p>As seen in the code above, the script is using the system function to execute the command:</p><pre>/usr/bin/sudo /usr/bin/tar cvf $mount_dir/$vol/$file @config_files &gt; /dev/null</pre><p>This command creates a backup of certain system files and stores it in the $mount_dir/$vol directory. The problem is that the $file variable and the $vol variable are being passed in as user-supplied input, without proper validation or sanitization. An attacker can craft a malicious GET request to the WebUI of the EasyNAS system, injecting a malicious command into the “name” and “vol” parameters of the GET request.</p><p>For example, an attacker could use the following GET request:</p><pre>/easynas/backup.pl?action=backup&amp;menu=none&amp;.submit=Backup&amp;name=%7cwhoami%7c%7ca+%23</pre><p>This request would execute the command “whoami” which would reveal the current user, this could lead to unauthorized access to the system or privilege escalation.</p><p><strong>Mitigation:</strong></p><p>The vulnerability can be mitigated by properly validating and sanitizing user input. One way to do this is using the Perl module CGI.pm’s built-in param method, which will remove any leading or trailing whitespace and control characters from the user input. Additionally, the use of regular expressions can be used to validate user input and ensure that it only contains allowed characters.</p><p>Another way to mitigate this vulnerability is to use the Perl module Taint.pm, which can be used to enable taint mode in the script. Taint mode ensures that all user-supplied input is “tainted”, which means that it is considered unsafe to use in the system.</p><p><strong>Conclusion:</strong></p><p>This vulnerability in the backup and restore script for EasyNAS is a serious issue that can potentially lead to unauthorized access to the system. It is important to take the necessary steps to protect your EasyNAS systems and to be aware of this vulnerability. The vulnerability can be mitigated by properly validating and sanitizing user input, avoiding the use of “sudo” in scripts, and using the “su” command. This is a reminder that it is important to keep software updated and aware of vulnerabilities. Even open-source software, like EasyNAS, can have security issues. It is important to be aware of the potential risks and to take the necessary steps to protect your systems.</p><p><strong>Exploit:</strong></p><p><a href="https://gist.github.com/xbz0n/674af0e802efaaafe90d2f67464c2690">EasyNAS 1.1.0 — Authenticated OS Command Injection Exploit (github.com)</a></p><p>Hope you had a valuable read, See you next time.</p><p>Follow me on <a href="https://twitter.com/xbz0n">Twitter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1db70c93186" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/exploiting-remote-command-execution-vulnerability-in-easynas-e1db70c93186">Exploiting Remote Command Execution Vulnerability in EasyNAS</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GraphQL Security Flaws and Exploitation]]></title>
            <link>https://infosecwriteups.com/graphql-security-flaws-and-exploitation-d3fac0831e7d?source=rss-583ddbdd1a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3fac0831e7d</guid>
            <category><![CDATA[api-security-testing]]></category>
            <category><![CDATA[graphql-security]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[exploitation]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[xbz0n]]></dc:creator>
            <pubDate>Tue, 10 Jan 2023 14:06:50 GMT</pubDate>
            <atom:updated>2023-03-21T13:03:52.208Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>GraphQL is a query language and runtime environment for APIs that allows clients to request only the data they need. This article will cover the most common security flaws in this environment.</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1cV9XTnMxMWflD800Eb8A.jpeg" /></figure><h3><strong>Overview</strong></h3><p>Auditing the security configuration of GraphQL API can be a complex task, as it involves protecting against a wide range of vulnerabilities. The following article will cover some common security flaws in GraphQL APIs.</p><ol><li><strong>Injection attacks: </strong>GraphQL APIs are vulnerable to injection attacks, just like any other API. To prevent injection attacks, you should use prepared statements or parameterized queries to ensure that user input is properly sanitized.</li><li><strong>Denial of Service (DoS) attacks:</strong> GraphQL APIs can also be vulnerable to DoS attacks, where an attacker floods the API with a large number of requests, causing it to crash or become unavailable. To prevent DoS attacks, you can implement rate limiting, which limits the number of requests a user can make in a given time period.</li><li><strong>Authorization and authentication: </strong>GraphQL APIs often require some form of authentication and authorization to ensure that only authorized users can access the data. You can use JSON Web Tokens (JWT) or other forms of token-based authentication to secure your GraphQL API.</li><li><strong>Excessive fields or nested queries: </strong>To prevent over-fetching and N+1 problems, you should validate the input query and fields that the client is requesting by setting upper limits for the number of queries or sub-fields of a query a user can request at a time</li><li><strong>Encryption: </strong>To protect sensitive data in transit, it’s essential to encrypt all communication between the client and the server using HTTPS.</li><li><strong>Logging:</strong> Keeping a detailed log of all API requests and responses can help you detect and investigate security breaches and track down any bugs in your code.</li></ol><p>These are some of the most common security concerns for GraphQL APIs. Still, it’s important to keep in mind that security is an ongoing process, and you should regularly review and update your security measures to ensure that your API remains secure.</p><p>It would also be wise to perform regular penetration testing and security audits to identify and fix any vulnerabilities in your API.</p><h3><strong>GraphQL Injection Flaws</strong></h3><p>Like any other API, GraphQL can be vulnerable to various types of attacks, including injection attacks such as SQL injection and NoSQL injection. In these attacks, the attacker crafts a malicious GraphQL query that contains code that is executed on the server, allowing the attacker to access sensitive data or perform unauthorized actions.</p><p>To exploit a GraphQL injection vulnerability, the attacker would typically need to identify the vulnerability by sending a malicious query to the GraphQL API and observing the response. Suppose the response indicates that the query was executed on the server. In that case, the attacker can then attempt to craft a more advanced query that accesses sensitive data or performs unauthorized actions.</p><p>For example, suppose the GraphQL API allows clients to query user information using a user ID parameter. In that case, the attacker could craft a query that uses string concatenation to inject a malicious SQL query into the user ID parameter like this:</p><blockquote>query {<br> user(id: “1&#39;; SELECT * FROM users; — “) {<br> id<br> name<br> email<br> }<br>}</blockquote><p>If the API is vulnerable to SQL injection, the server will execute the injected query and return the result to the attacker.</p><p>Another example is with Blind SQL injection by performing a time-based query, returning back the result after the given time, indicating successful Blind SQL Injection, like this:</p><blockquote>query {<br> user(id: “1 OR SLEEP(10)“) {<br> id<br> name<br> email<br> }<br>}</blockquote><p>The attacker can then use this information to access sensitive data or perform unauthorized actions.</p><p>To protect against GraphQL injection attacks, it is crucial to validate and sanitize user input in GraphQL queries properly and to use prepared statements or parameterized queries to prevent the execution of malicious code on the server. It is also recommended to use a web application firewall (WAF) that can detect and block malicious GraphQL queries.</p><h3><strong>GraphQL Username Enumeration Flaws</strong></h3><p>A user enumeration vulnerability in a GraphQL API allows an attacker to enumerate (i.e., list) valid user accounts by sending a series of requests with different user IDs or usernames and observing the response. This type of vulnerability can occur when the GraphQL API allows clients to query user information using a user ID or username parameter, and the response indicates whether the specified user exists or not.</p><p>For example, suppose the GraphQL API allows clients to query user information using a user ID parameter. In that case, the attacker could craft a query that uses the user ID parameter to enumerate valid user accounts, like this:</p><blockquote>query {<br> user(id: “1”) {<br> id<br> name<br> email<br> }<br>}</blockquote><p>If the user with ID 1 exists, the server will return the user’s information in the response. If the user does not exist, the server will return a null value for the user. The attacker can then repeat this process with different user IDs and use the presence or absence of user information in response to determine which user IDs are valid.</p><p>A user enumeration vulnerability in a GraphQL API can be exploited to gain information about valid user accounts, which can then be used in further attacks such as password guessing or brute-forcing. To protect against this vulnerability, it is important not to include any information in the response that indicates whether a user exists or not and to use rate-limiting or CAPTCHA mechanisms to prevent automated enumeration attempts.</p><p>To exploit a GraphQL user enumeration vulnerability, the attacker would typically send a series of GraphQL queries to the API that contain different username values. For each query, the API would respond with either a success message (indicating that the username is valid) or an error message (indicating that the username is not valid). By repeating this process for a large number of usernames, the attacker can obtain a list of valid usernames.</p><p>For example, if the GraphQL API allows clients to query user information using a username parameter, the attacker could craft a query like this:</p><blockquote>query {<br> user(username: “john”) {<br> id<br> name<br> email<br> }<br>}</blockquote><p>If the username “john” is valid, the API will respond with the user’s information. If the username is not valid, the API will respond with an error message. The attacker could then repeat this process with different username values to enumerate all valid usernames.</p><p>To protect against GraphQL user enumeration vulnerabilities, it is important to properly handle error messages in GraphQL queries. Instead of returning a specific error message for invalid usernames, the API should return a generic error message that does not reveal whether the username is valid or not. Additionally, it is recommended to use rate limiting to prevent an attacker from sending too many queries in a short period of time.</p><h3><strong>GraphQL Brute-Force Flaws</strong></h3><p>A GraphQL password brute-force vulnerability is a type of vulnerability that allows an attacker to use a GraphQL API to perform a brute-force attack on a web application’s password system. In a brute-force attack, the attacker tries a large number of different password combinations in an attempt to guess the correct password for a user account.</p><p>To exploit a GraphQL password brute-force vulnerability, the attacker would typically need first to obtain a list of valid usernames for the web application. This could be done using a user enumeration vulnerability or by using other methods such as social engineering or scraping the web application’s user registration page.</p><p>Once the attacker has a list of valid usernames, they can use a GraphQL API to send a series of queries that contain different password values for each username. For each query, the API would respond with either a success message (indicating that the password is correct) or an error message (indicating that the password is incorrect). By repeating this process for a large number of password combinations, the attacker can eventually guess the correct password for a user account.</p><p>For example, if the GraphQL API allows clients to authenticate using a username and password combination, the attacker could craft a query like this:</p><blockquote>query {<br> login(username: “john”, password: “password123”) {<br> id<br> name<br> email<br> }<br>}</blockquote><p>If the username and password combination is correct, the API will respond with the user’s information. If the combination is incorrect, the API will respond with an error message. The attacker could then repeat this process with different password values to perform a brute-force attack on the password system.</p><p>To protect against GraphQL password brute-force vulnerabilities, it is important to handle error messages in GraphQL queries properly. Instead of returning a specific error message for incorrect password values, the API should return a generic error message that does not reveal whether the password is correct or not. Additionally, it is recommended to use rate limiting and password hashing to prevent an attacker from sending too many queries in a short period of time and to make it difficult for the attacker to guess the correct password.</p><h3><strong>GraphQL introspection flaws</strong></h3><p>One of the features of GraphQL is introspection, which allows clients to query the schema of a server to discover what data and operations are available.</p><p>A vulnerability in GraphQL introspection could allow an attacker to gain access to sensitive information or perform unauthorized actions on the server. This could happen if the server allows clients to query the schema without proper authentication or authorization checks.</p><p>To prevent introspection vulnerabilities, it’s important to properly secure the GraphQL server by using authentication and authorization checks on all requests, including introspection queries. This can be achieved by implementing custom GraphQL resolvers, which can handle authentication and authorization logic.</p><p>Some GraphQL servers also provide configuration options for disabling or limiting introspection, such as setting an environment variable to disable introspection or selectively disabling introspection for specific fields in the schema.</p><p>It is also important to keep in mind that GraphQL can be used with different client libraries and SDKs; each one may have different mechanisms and considerations to prevent such types of vulnerabilities.</p><p>Exploiting a GraphQL introspection vulnerability can allow attackers to gain access to sensitive information or perform unauthorized actions on the server. The specific method of exploitation will depend on how the vulnerability is present in the server’s implementation.</p><p>Here are a few examples of ways that a GraphQL introspection vulnerability might be exploited:</p><ul><li><strong>Accessing sensitive information: </strong>If the server does not properly restrict access to certain fields in the schema, an attacker could use an introspection query to request sensitive information such as user data or server configuration details.</li><li><strong>Performing unauthorized actions:</strong> If the server does not properly check authentication and authorization for introspection queries, an attacker could use introspection to discover and execute operations that they would not normally have access to.</li><li><strong>Denial of Service (DoS)</strong>: If the server does not have any rate-limiting mechanism or defensive mechanism to prevent overloading, an attacker could use introspection queries to overload the server and cause it to crash or become unavailable.</li><li><strong>Performing a graphiql UI takeover:</strong> If the server has the Graphiql UI enabled, an attacker could use introspection to take over the UI and cause malicious actions such as injecting malicious scripts.</li></ul><p>It is important to keep in mind that while introspection is a powerful feature, it can also be a potential security risk if not properly secured. It is always a good practice to perform regular security assessments and penetration testing on your GraphQL server to identify and address potential vulnerabilities.</p><h3><strong>Authorization and authentication Flaws</strong></h3><p>Authorization and authentication are significant security considerations for GraphQL APIs. These flaws can occur when an API does not properly implement or configure its authentication and authorization mechanisms, making it possible for unauthorized users to access sensitive data or perform actions that should be restricted.</p><p>One common authorization flaw in GraphQL APIs is using weak or easily guessed access tokens. An attacker can gain access to an API by guessing or stealing a user’s access token, giving them the same permissions as the user. To prevent this, you should use strong and unique access tokens and regularly rotate and revoke tokens that are no longer needed.</p><p>Another common authorization flaw is the misuse of the API’s access controls. For example, allowing a user to access or perform operations on data they should not have access to. This can be prevented by correctly implementing roles and permissions and regularly reviewing access controls to ensure they are still valid.</p><p>As always, it is essential to regularly review and test your authentication and authorization mechanisms to ensure that they are working as intended and that any vulnerabilities are found and fixed as soon as possible.</p><h3><strong>GraphQL penetration testing tools</strong></h3><p>There are a number of tools that are available for performing penetration testing and exploitation of GraphQL APIs. These tools are designed to help identify vulnerabilities in your API and improve your overall security posture. Some of the most popular options include:</p><ul><li><a href="https://github.com/doyensec/inql">InQL</a> — An extension for Burp Suite, specifically designed for security testing of GraphQL APIs.</li><li><a href="https://github.com/dolevf/graphw00f">Graphw00f</a> — GraphQL Server Engine Fingerprinting utility.</li><li><a href="https://github.com/nicholasaleks/CrackQL">CrackQL</a> — CrackQL is a powerful and flexible penetration testing tool that is specifically designed for testing the security of GraphQL APIs. It utilizes a variety of techniques, such as exploiting weak rate-limit and cost analysis controls, brute-forcing credentials, and fuzzing operations to uncover vulnerabilities and help improve the overall security posture of GraphQL-based APIs.</li><li><a href="https://github.com/nikitastupin/clairvoyance">Clairvoyance</a> — Patrial introspection fetcher when introspection is disabled.</li><li><a href="https://github.com/dolevf/Damn-Vulnerable-GraphQL-Application">Damn Vulnerable GraphQL Application</a> — The Damn Vulnerable GraphQL Application is a deliberately vulnerable version of Facebook’s GraphQL technology, which is intended for educational and training purposes. It’s designed to help individuals and organizations learn about GraphQL security and practice identifying and addressing potential security issues.</li><li><a href="https://github.com/Escape-Technologies/graphinder">Graphinder</a> — A tool for quickly discovering GraphQL endpoints through the use of subdomain enumeration, script analysis, and bruteforce techniques.</li></ul><h3><strong>Securing GraphQL by performing regular penetration testing</strong></h3><p>Penetration testing (also known as “pen testing”) is an important part of ensuring the security of your GraphQL API. By simulating an attack on your API, you can identify vulnerabilities that a real-world attacker might exploit.</p><p>Regular penetration testing can help you avoid potential security threats by identifying vulnerabilities before they can be exploited. Additionally, by performing regular pentests, you can ensure that your API remains secure as your codebase and infrastructure change over time.</p><p>Penetration testing can uncover various security issues, such as SQL injection vulnerabilities, cross-site scripting (XSS) vulnerabilities, and insecure access controls. It can also help you identify misconfigurations in your infrastructure or programming errors in your code.</p><p>Additionally, with GraphQL’s inherent flexibility in accessing the data comes the potential for the misuse and abuse of that flexibility by malicious actors. Regular penetration testing can help you identify scenarios where the API is vulnerable to malicious actions.</p><p>It’s also important to keep in mind that while penetration testing is an important part of keeping your API secure, it’s not a substitute for other security measures such as secure coding practices, robust authentication and access control, and regular security audits.</p><p>Hope you had a valuable read, See you next time.</p><p>Follow me on <a href="https://twitter.com/xbz0n">Twitter</a>.</p><p>Have a great hacking day!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3fac0831e7d" width="1" height="1" alt=""><hr><p><a href="https://infosecwriteups.com/graphql-security-flaws-and-exploitation-d3fac0831e7d">GraphQL Security Flaws and Exploitation</a> was originally published in <a href="https://infosecwriteups.com/">InfoSec Write-ups</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>