Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM cost reform

...

Failure to sanitize user input before processing or storing it can result in injection attacks.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

IDS17-J

Medium

Probable

No

MediumNo

P8P4

L2L3

Automated Detection

SonarQube Java Plugin Java Plugin Java Plugin - S4435 -
ToolVersionCheckerDescription
The Checker Framework

Include Page
The Checker Framework_V
The Checker Framework_V

Tainting CheckerTrust and security errors (see Chapter 8)
Fortify1.0

Missing_XML_Validation

Implemented
Parasoft JtestKlocwork

Include Page

Parasoft

Klocwork_V

Parasoft

Klocwork_V

SECURITY.IBA.VPPD

SV.XXE.DBF
SV.XXE.SF
SV.XXE.SPF
SV.XXE.TF
SV.XXE.XIF
SV.XXE.XRF


SonarQube

Include Page
SonarQube

_V
SonarQube

_V

S2755

S4435

Untrusted XML should be parsed with a local, static DTD

XML transformers should be secured

Implemented

Related Vulnerabilities

CVE-2008-2370 describes a vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16. When a RequestDispatcher is used, Tomcat performs path normalization before removing the query string from the URI, which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a .. (dot dot) in a request parameter.

Related Guidelines

...

SEI CERT C Coding Standard

...

STR02-C. Sanitize data passed to complex subsystems

...

SEI CERT C++ Coding Standard

...

VOID STR02-CPP. Sanitize data passed to complex subsystems

...

ISO/IEC TR 24772:2013

...

Injection [RST]

...

MITRE CWE

...

CWE-116, Improper Encoding or Escaping of Output

Android Implementation Details

...

Bibliography

...