Atlassian Bitbucket Server before 4.7.1 allows remote attackers to read the first line of an arbitrary file via a directory traversal attack on the pull requests resource.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://jira.atlassian.com/browse/BSERV-8819 | issue tracking vendor advisory |
http://www.securityfocus.com/bid/97515 | vdb entry third party advisory |
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-4-7-release-notes-829052416.html | vendor advisory |