










































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































Senior Cybersecurity Consultant Part Time BugBounty Hunter Content Creator Logics & JS Files
▪ Senior Cybersecurity Consultant ▪ Part Time BugBounty Hunter ▪ Cybersecurity Content Creator ▪ Enjoying focusing on Logic Vulns & JS files in my hacking ▪ Love to lose my money in crypto (recently)
▪ X : SirBagoza ▪ YT: CyberBugz
Business logic vulnerabilities occur when an application’s design, functionality, or flow is exploited in ways that deviate from its intended use, allowing attackers to manipulate processes for unauthorized gain. Unlike technical vulnerabilities (like SQL injection) , they exploit the application's core functionality and user workflows. These vulnerabilities often arise from flawed assumptions or overlooked conditions in the logic that governs business processes, making them harder to detect with traditional security measures.
▪ Complexity of Business Rules : Business logic is often intricate and specific to each organization. ▪ Lack of Automation : Automated tools and static analysis typically focus on common security issues like SQL injection or XSS, but they often don't catch business logic flaws. ▪ Over-reliance on Developers : Business logic vulnerabilities are often detected during development and testing. ▪ Underestimated Risk : Business logic vulnerabilities may be dismissed as less severe compared to other types of vulnerabilities like unauthorized data access or remote code execution, even though they can result in significant financial or reputational damage. Business Logic Vulnerabilities are not usually covered. Because most of security teams often prioritize technical vulnerabilities like buffer overflows, code injection, or misconfigurations, leaving business logic vulnerabilities less scrutinized.. Not a lot of hackers focus on breaking the flow of the app itself, how it works, if there’s smth limited, why is it? And for the following additional reasons, it’s not well covered in the hacking process:
What this request is responsible for? What is this request doing? Never miss what a request is doing. It’s in the process, so it’s doing smth! Why this request is here? Why not before or after? Whereeeee & Howww cannnn IIII breakkkkkk innnnnn?
When faced with blockers or functions saying 'No, you cannot do that,' it's my turn to ask: Why not? Is it related to the plan? Is it because of limitations? Or is it against the policy? And if that's the case, what would be the impact of breaking this rule? What consequences are we looking at?
▪ You can’t delete this file before doing a check-in ▪ You can’t do this actions because you are in the free plan ▪ You can’t access the user’s information before his acceptance ▪ You can’t make new rides before your papers get verified ▪ You can’t contact or access the owner only if he created a case ▪ You can’t rate someone before the lesson is ended
Payment Bypass (Price Lowering)
We can edit how many lessons regarding this order_id too from another request By creating a new order, taking the lessons and tutor, calculating the price and reflecting an order_id
Payment Bypass (Price Lowering)
After paying, a new request checking if I paid or not, and how many lessons linked to the order_id gets issued After issue a new order, we get a payment token. We get redirected to the 3rd party requests handling the payment process
Payment Bypass (Price Lowering)
Shout-out to @0xa1mn
Pos, Neg Voting
What about submitting Positive or Negative ratings? Rating is one of the most underrated functionalities in the applications. It’s available these days too much in different applications: ▪ User rating a driver after the ride is finished: Indrive, Uber, Careem, Ego ▪ User rating a tutor/course after the lesson is finished: Udemy, Preply ▪ User rating a movie/clip after watching: warner bros Default rating is: 1 - 5 , what if we submitted 50? Default rating is: 1 - 5 , what if we submitted - 50? That can increase or decrease the rating of the profile.
Student Leaking Answers (through helper mode)
Helper Mode: This mode is for the beginner students, the teacher can activate or disable it for any exam. In a class / school application, The teacher can make 2 kinds of exams. Shout-out to @mux0x ▪ Helper Mode ▪ Direct Exam It shows to the student the right answer if he clicked on a wrong one.
Student Leaking Answers (through helper mode)
Helper Mode: will show the correct answer, Then we can send it in the answer submit endpoint. If the helper mode is not activated , the student will submit the answer directly. Shout-out to @mux0x ▪ /api/v1/exam/question/xxxxxx/answer/submit The helper endpoint will not be called. But what about Intercepting and sending a request with the question Id in the helper endpoint? ▪ /api/v1/exam/question/xxxxxx/help_answer
Special Chars (Bypassing Filters)
In some recent cases, I’ve been seeing smth like: “blacklist a domain, email, ip ”, so what if I was able to invite a blacklisted email, domain? Special Characters Injection is being used for bypassing limitation too. But since these functionalities, maybe most of the time will check for identical texts .. We can bypass! ▪ I usually use keys from: https://0xacb.com/normalization_table
Special Chars (Bypassing Filters)
If you want to find out Why this happens in a little bit depth, check the following write-up: