nerdexam
CompTIA

CAS-002 · Question #203

A Security Administrator has some concerns about the confidentiality of data when using SOAP. Which of the following BEST describes the Security Administrator's concerns?

The correct answer is A. The SOAP header is not encrypted and allows intermediaries to view the header data. SOAP messages are routed through intermediary nodes by design, and because SOAP headers are not encrypted by default, any intermediary can read the sensitive header contents.

Technical Integration of Enterprise Components

Question

A Security Administrator has some concerns about the confidentiality of data when using SOAP. Which of the following BEST describes the Security Administrator's concerns?

Options

  • AThe SOAP header is not encrypted and allows intermediaries to view the header data.
  • BThe SOAP protocol supports weak hashing of header information.
  • CThe SOAP protocol can be easily tampered with, even though the header is encrypted.
  • DThe SOAP protocol does not support body or header encryption which allows assertions to

How the community answered

(37 responses)
  • A
    76% (28)
  • B
    14% (5)
  • C
    8% (3)
  • D
    3% (1)

Why each option

SOAP messages are routed through intermediary nodes by design, and because SOAP headers are not encrypted by default, any intermediary can read the sensitive header contents.

AThe SOAP header is not encrypted and allows intermediaries to view the header data.Correct

SOAP is built on a message-path model where messages may pass through one or more intermediary nodes before reaching their final destination, and by default the SOAP header is transmitted in plaintext XML. This means any intermediary in the chain - including potentially untrusted nodes - can inspect header data that may contain authentication tokens, routing directives, or other sensitive metadata. WS-Security can be used to selectively encrypt header elements, but this protection is optional and not applied by default.

BThe SOAP protocol supports weak hashing of header information.

SOAP does not define any built-in hashing of header information; it is a plain XML-based protocol, and WS-Security provides optional digital signing as an extension rather than a weak native hashing mechanism.

CThe SOAP protocol can be easily tampered with, even though the header is encrypted.

The concern is that SOAP headers are readable in plaintext, not that encrypted headers can be tampered with; the default state is no encryption, not weak encryption.

DThe SOAP protocol does not support body or header encryption which allows assertions to

WS-Security extensions for SOAP do support both body and header encryption; the actual risk is that these extensions are not enforced by default, leaving headers exposed.

Concept tested: SOAP header confidentiality and intermediary node exposure

Source: https://www.oasis-open.org/committees/download.php/16790/wss-v1.1-spec-os-SOAPMessageSecurity.pdf

Topics

#SOAP#web services security#message encryption#intermediary exposure

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice