Skillpedia
الاختبار35k · #8383

testing-for-business-logic-vulnerabilities

ما الذي تفعله

تساعد هذه المهارة على إيجاد ثغرات في طريقة تعامل الموقع أو التطبيق مع قواعد عمله. تفحص إن كان يمكن تجاوز عمليات مثل الدفع والخصومات والتسجيل، وهي أمور كثيراً ما تفوتها الأدوات الآلية.

متى تستخدمها

  • ✓عندما لا تجد الاختبارات الأمنية التلقائية أي مشكلات.
  • ✓عندما تتحقق مما إذا كان يمكن تغيير الأسعار أو الخصومات بطريقة غير سليمة.
  • ✓عندما تختبر عمليات متعددة الخطوات، مثل التسجيل أو الدفع.

رابط المهارة

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/testing-for-business-logic-vulnerabilities/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/testing-for-business-logic-vulnerabilities/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ساعدني في التحقق مما إذا كان يمكنني تطبيق كوبون خصم أكثر من مرة على سلة التسوق الخاصة بي.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تعترض هذه المهارة الاتصالات بينك وبين الموقع أو التطبيق، وتسمح بتعديلها لمحاولة تجاوز القواعد، كتغيير السعر أو تخطي خطوة تحقق.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Testing for Business Logic Vulnerabilities

When to Use

  • During authorized penetration tests when automated scanners have found few technical vulnerabilities
  • When assessing e-commerce platforms for pricing, cart, and payment flow manipulations
  • For testing multi-step workflows (registration, checkout, approval processes) for bypass opportunities
  • When evaluating rate-limited features like vouchers, coupons, referrals, and rewards systems
  • During security assessments of financial applications, voting systems, or any application with critical business rules

Prerequisites

  • Authorization: Written penetration testing agreement covering business logic testing
  • Burp Suite Professional: For intercepting and modifying multi-step request flows
  • Application understanding: Thorough knowledge of the application's intended business workflows
  • Multiple test accounts: Accounts at different privilege levels and states
  • Browser DevTools: For examining client-side validation logic
  • Documentation: Business requirements or user stories describing expected behavior

Workflow

Step 1: Map Business Workflows and Rules

Document all critical business processes and their expected constraints.

# Critical business flows to map:
# 1. Registration/Onboarding flow
#    - Email verification requirements
#    - Account approval process
#    - Role assignment logic

# 2. E-commerce/Purchase flow
#    - Product selection → Cart → Checkout → Payment → Confirmation
#    - Price calculation logic
#    - Discount/coupon application
#    - Quantity limits
#    - Shipping cost calculation

# 3. Authentication/Authorization flow
#    - Login → MFA → Dashboard
#    - Password reset → Token → New password
#    - Role escalation/approval

# 4. Financial transactions
#    - Balance check → Transfer → Confirmation
#    - Withdrawal limits
#    - Currency conversion

# Document expected constraints:
# - Minimum order amounts
# - Maximum quantity per item
# - Coupon usage limits (one per user)
# - Referral reward caps
# - Withdrawal daily limits
# - Account verification requirements before certain actions

Step 2: Test Price and Quantity Manipulation

Intercept and modify price, quantity, and total values in requests.

# Test negative quantity
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": -1, "price": 99.99}' \
  "https://target.example.com/api/cart/add"

# Test zero price
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": 1, "price": 0}' \
  "https://target.example.com/api/cart/add"

# Test extremely large quantity
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": 999999999}' \
  "https://target.example.com/api/cart/add"

# Test decimal/float manipulation
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": 0.001, "price": 0.01}' \
  "https://target.example.com/api/cart/add"

# Test integer overflow
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"product_id": 1, "quantity": 2147483647}' \
  "https://target.example.com/api/cart/add"

# Modify total amount directly in checkout request
# Intercept in Burp and change total from 299.99 to 0.01
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"cart_id": "abc123", "total": 0.01, "payment_method": "card"}' \
  "https://target.example.com/api/checkout"

Step 3: Test Workflow Step Bypass

Attempt to skip required steps in multi-step processes.

# Skip email verification
# Instead of: Register → Verify email → Access dashboard
# Try: Register → Access dashboard directly
curl -s -H "Authorization: Bearer $UNVERIFIED_TOKEN" \
  "https://target.example.com/api/dashboard"

# Skip payment step
# Instead of: Cart → Shipping → Payment → Confirmation
# Try: Cart → Confirmation (skip payment)
curl -s -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"cart_id": "abc123", "shipping_address": "123 Main St"}' \
  "https://target.example.com/api/orders/confirm"

# Skip MFA step
# Instead of: Login → MFA → Dashboard
# Try: Login → Dashboard (skip MFA)

…
الأسئلة الشائعة

هل أحتاج إلى أدوات خاصة؟

نعم، يُنصح باستخدام Burp Suite Professional لاعتراض الطلبات وتعديلها.

هل أحتاج إلى إذن لاستخدامها؟

نعم، التفويض الكتابي ضروري لاختبار الأمان، خاصة لمنطق العمل.

هل تختلف عن ماسح الثغرات العادي؟

نعم. الماسحات الآلية تبحث عن ثغرات تقنية معروفة، بينما تركز هذه المهارة على اختبار قواعد التطبيق الداخلية ومنطقه، وهي فريدة لكل نظام.

التفاصيل

الوصف الأصلي من المؤلف

Manually identifies flaws in application business logic - price manipulation, multi-step workflow bypass, and privilege escalation - by intercepting and modifying requests with Burp Suite, going beyond what automated vulnerability scanners detect. Use for e-commerce checkout/cart flows, voucher and rewards systems, or any assessment where scanners find little but business rules need scrutiny.

repo: mukul975/Anthropic-Cybersecurity-Skills

الشعبية

نجوم GitHub
35k
الترتيب
#8383
الترخيص
Apache-2.0
آخر تحديث
31‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة