Show simple item record

dc.contributor.advisorFarrell, Stephen
dc.contributor.authorO'Donnell, John
dc.date.accessioned2006-06-19T16:07:49Z
dc.date.available2006-06-19T16:07:49Z
dc.date.issued2005-09
dc.date.submitted2005-12-22T16:07:49Z
dc.description.abstractOne of the key concerns to the adoption of XML as the de facto standard for information representation is security. This has clear concerns for the continued success ofWeb Services as many elements of Web Services are XML based. XML parsers are present in all XML based applications and therefore any security vulnerability discovered in a parser is a serious threat to all applications of which it is a component. This thesis concerns itself with the analysis of the Xerces-C++ (Xerces) parser. It deals explicitly with vulnerabilities that could be exploited by an attacker, for uses such as crashing or gaining privileges on applications that incorporate Xerces. Xerces was chosen as it is open source, is widely available and is written in a non-typesafe language, i.e. C++. Using a static analysis tool, ITS4, two separate buffer overflows were discovered. The first buffer overflow, a heap based overflow, was caused by the use of the insecure C function strcat()and could be effected by the use of the schemaLocation attribute in an XML document or schema. The second buffer overflow, a stack based overflow, was caused by the use of the insecure C function strcpy() and could be effected using Xerces error messages location setting. The same method which caused the first overflow in Xerces, was then tested on two applications which incorporated Xerces as a component. The two applications were Berkeley DB XML and Xalan-C++. Both applications crashed, suffering the same buffer overflows as was observed in Xerces. The results showed that there are indeed vulnerabilities in Xerces, which can be used to cause buffer overflows in and crash applications that use Xerces as a parser. Unless addressed these kinds of vulnerabilities could have serious repercussions for the future of XML and XML based applications.en
dc.format.extent393785 bytes
dc.format.mimetypeapplication/pdf
dc.language.isoenen
dc.relation.hasversionTCD-CS-2005-80.pdfen
dc.subjectComputer Scienceen
dc.titleAn Evaluation of XML Associated Vulnerabilities in the Xerces-C++ Parseren
dc.typeMasters (Taught)
dc.typeMaster of Science (M.Sc.)
dc.publisher.institutionTrinity College Dublin. Department of Computer Scienceen
dc.identifier.urihttp://hdl.handle.net/2262/856


Files in this item

Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record