BETA Shoulder jest w wersji beta — Wyniki mogą czasami być błędne. Twoja opinia kształtuje to, co naprawimy w następnej kolejności. Podziel się opinią
#5 A05:2025

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.

Przeglad

Falls from #3 to #5 in 2025. Injection remains one of the most tested categories, covering issues from Cross-site Scripting (high frequency/low impact) to SQL Injection (low frequency/high impact).

Jak Atakujacy To Wykorzystuja

Zrozumienie wzorcow atakow pomaga budowac lepsze zabezpieczenia. To sa techniki, ktore zespoly bezpieczenstwa monitoruja.

SQL query manipulation

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

Sygnal wykrywania: 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.

Sygnal wykrywania: Unexpected process spawns, unusual system calls in audit logs

Cross-site scripting (XSS)

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

Sygnal wykrywania: Script tags or event handlers appearing in user-generated content

Jak Zapobiegac

  • 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
  • Use Content Security Policy to mitigate XSS impact

CWE z Wykrywaniem Shoulder (9)

Te CWE maja reguly wykrywania Shoulder. Kliknij, aby zobaczyc konkretne podatnosci i poprawki.

Inne Zmapowane CWE (24)

Te CWE sa zmapowane do tej kategorii, ale nie maja jeszcze regul Shoulder.