Skip to content

Protect against security exploits via system identifier in DTD declaration [SPR-11768] #16390

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-11768 and commented

A DTD declaration contains a system identifier, which can be exploited for example to scan for valid URLs gauged by the response time (quick response=valid, slower response=not valid) or can potentially be further combined with other vulnerabilities where simply accessing a URL can have side effects.

Example DTD declaration:

<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Affects: 3.2.8, 4.0.4

Attachments:

Backported to: 3.2.9

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions