बीटा Shoulder बीटा में है — परिणाम कभी-कभी गलत हो सकते हैं। आपकी प्रतिक्रिया तय करती है कि हम आगे क्या ठीक करें। प्रतिक्रिया साझा करें
#3 A03:2021

Injection

Injection flaws occur when an application sends hostile data to an interpreter. This includes SQL, NoSQL, OS command, ORM, LDAP, and Expression Language injection.

अवलोकन

Injection slides down to #3. 94% of applications were tested for some form of injection. The 33 CWEs mapped into this category have the second most occurrences in applications.

हमलावर इसका शोषण कैसे करते हैं

हमले के पैटर्न समझने से बेहतर सुरक्षा बनाने में मदद मिलती है। ये वे तकनीकें हैं जिन पर सुरक्षा टीमें नज़र रखती हैं।

SQL query manipulation

User input is incorporated into database queries without proper sanitization, allowing attackers to modify query logic or extract unauthorized data.

पहचान संकेत: Database errors in responses, unusual query patterns in logs, timing anomalies

Command execution

User input flows into system commands, allowing attackers to execute arbitrary commands on the server.

पहचान संकेत: Unexpected process spawns, unusual system calls in audit logs

Script injection in pages

User content is reflected in web pages without encoding, allowing script execution in other users' browsers.

पहचान संकेत: Script tags or event handlers appearing in user-generated content

कैसे रोकें

  • Use a safe API which avoids using the interpreter entirely
  • Use parameterized queries or prepared statements
  • Use positive server-side input validation
  • Escape special characters for any residual dynamic queries
  • Use LIMIT and other SQL controls to prevent mass disclosure

Shoulder पहचान वाले CWE (9)

इन CWE में Shoulder पहचान नियम हैं। विशिष्ट भेद्यताएँ और समाधान देखने के लिए क्लिक करें।

अन्य मैप किए गए CWE (24)

ये CWE इस श्रेणी से मैप किए गए हैं लेकिन अभी तक Shoulder नियम नहीं हैं।