Top 10 Web services threats

Related Links

Securing XML

The most frequent techniques used to attack Web services:

1. Coercive parsing. This attack exploits the interfaces used to link legacy systems with Extensible Markup Language components in an existing infrastructure. It can overwhelm a system's processing capabilities or install malicious mobile code.

2. Parameter tampering. Parameters send client-specific information to the Web service so that a certain remote operation can be executed. Instructions on how to use parameters are described in a Web Services Description Language (WSDL) document, and someone could manipulate the parameter options to retrieve unauthorized information.

3. Recursive payload. XML can nest elements within a document to address complex relationships such as a purchase order that includes shipping and billing addresses and quantities. Attackers can attempt to break an XML parser by creating a file with massive amounts of data.

4. Oversized payload. Because XML is verbose in the way it marks up existing data and information, file size is always a consideration. Programmers can limit a document's size, but there are a number of reasons why it might be hundreds of megabytes or gigabytes. But large sizes also could mean an attacker has manipulated the parser to execute a denial-of-service attack.

5. Schema poisoning. XML schemas provide specific details about documents' grammar

and templates from which parsers interpret them. Because they describe necessary preprocessing instructions, they are vulnerable to tampering.

6. WSDL scanning. WSDL is a mechanism for Web services to dynamically describe the parameters used when connecting to commands that accept input from external sources. However, these files are often built automatically using utilities designed to expose and describe all information available in a command. An attacker might cycle through the command and string combinations to discover unintentionally related or unpublished application program interfaces.

7. Routing detour. The Web Services-Routing specification helps direct XML traffic through an environment by allowing a way station in an XML path to assign routing instructions to a document. The way stations can be compromised, allowing attackers to insert bogus instructions to reroute a confidential file. They can then strip out the malicious instructions before forwarding the document to its destination.

8. External entity attack. XML can build documents dynamically by pointing to a Uniform Resource Identifier where the actual data exists. However, an attacker can replace the data being retrieved with malicious data.

9. SQL injection. By executing multiple commands in an input file, attackers can create invalidated SQL commands.

10. Replay attack. In this attack, hackers issue repetitive Simple Object Access Protocol messages to overload a Web service.

Source: Spire Security LLC

FCW in Print

In the latest issue: Looking back on three decades of big stories in federal IT.


  • Shutterstock image: looking for code.

    How DOD embraced bug bounties -- and how your agency can, too

    Hack the Pentagon proved to Defense Department officials that outside hackers can be assets, not adversaries.

  • Shutterstock image: cyber defense.

    Why PPD-41 is evolutionary, not revolutionary

    Government cybersecurity officials say the presidential policy directive codifies cyber incident response protocols but doesn't radically change what's been in practice in recent years.

  • Anne Rung -- Commerce Department Photo

    Exit interview with Anne Rung

    The government's departing top acquisition official said she leaves behind a solid foundation on which to build more effective and efficient federal IT.

  • Charles Phalen

    Administration appoints first head of NBIB

    The National Background Investigations Bureau announced the appointment of its first director as the agency prepares to take over processing government background checks.

  • Sen. James Lankford (R-Okla.)

    Senator: Rigid hiring process pushes millennials from federal work

    Sen. James Lankford (R-Okla.) said agencies are missing out on younger workers because of the government's rigidity, particularly its protracted hiring process.

  • FCW @ 30 GPS

    FCW @ 30

    Since 1987, FCW has covered it all -- the major contracts, the disruptive technologies, the picayune scandals and the many, many people who make federal IT function. Here's a look back at six of the most significant stories.

Reader comments

Please post your comments here. Comments are moderated, so they may not appear immediately after submitting. We will not post comments that we consider abusive or off-topic.

Please type the letters/numbers you see above

More from 1105 Public Sector Media Group