Skip to content

Insecure JAX-WS Endpoint

Description

This method is part of a SOAP Web Service (JSR224) and its security should be analyzed, including authentication, access control, input validation, and secure communication over SSL.

Examples

Insecure Code

scala
Example of insecure JAX-WS endpoint: @javax.jws.WebMethod def myMethod(userInput: String) = {...}

Secure Code

scala
Example of secure JAX-WS endpoint: @javax.jws.WebMethod def myMethod(@Valid userInput: String) = {...} with proper authentication, access control, and input validation

Remediation

Analyze the security of the web service, ensuring proper authentication, access control, input validation, and secure communication over SSL.

Rule Details

FieldValue
IDCODE-0032
CategoryWeb
SeverityMEDIUM
CWECWE-348
ConfidenceMEDIUM
ImpactMEDIUM
LikelihoodMEDIUM
ExploitabilityMODERATE
TagsSOAP, Web Service, Security
OWASPA7:2017-Cross-Site Scripting (XSS), A03:2021-Injection