BUG - External Control of File Name or Path - FileTransform.java

Bug #1406411 reported by David Camilo
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simple-xml (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Good Day,

We are currently using simple-xml-2.6.2 and the veracode analysis found this bug:

Description

This call contains a path manipulation flaw. The argument to the function is a filename constructed using user-supplied
input. If an attacker is allowed to specify all or part of the filename, it may be possible to gain unauthorized access to
files on the server, including those outside the webroot, that would be normally be inaccessible to end users. The level
of exposure depends on the effectiveness of input validation routines, if any.

This bug is in FileTransform.java (line 57), Is this error is a false positive?

Thanks.

Revision history for this message
Seth Arnold (seth-arnold) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures

Changed in simple-xml (Ubuntu):
status: New → Incomplete
information type: Private Security → Public Security
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Taking a quick glance at the source of the project in question, I suspect there is no intention to attempt to restrict which files may be accessed beyond controls enforced by the operating system access controls:

http://sources.debian.net/src/simple-xml/2.7.1-1/src/org/simpleframework/xml/transform/FileTransform.java/?hl=2#L57

Revision history for this message
David Camilo (david-espitia) wrote :

So if there is a vulnerability in this class?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for simple-xml (Ubuntu) because there has been no activity for 60 days.]

Changed in simple-xml (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.