Skip to content

Commit 9890c56

Browse files
committed
upgrade CHANGES.txt and doc/upgrading.txt with additional info about implications of fixing path traversal bug in d22eb1d40d0e
1 parent 41cc725 commit 9890c56

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ Fixed:
291291
with a specific name is created in the html subdirectory, the
292292
template name in the url can be used to get access to files outside
293293
of the tracker html directory. This has been fixed by normalizing
294-
the path and comparing to the normalized path for the html directory.
294+
the path and comparing to the normalized path for the html
295+
directory. See ``doc/upgrading.txt``. (John Rouillard)
295296

296297
2016-01-11: 1.5.1
297298

doc/upgrading.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ Contents:
2323
Migrating from 1.5.1 to 1.6.0
2424
=============================
2525

26+
Fix for path traversal changes template resolution
27+
--------------------------------------------------
28+
29+
The templates in the tracker's html subdirectory must not be
30+
symbolic links that lead outside of the html directory.
31+
32+
If you don't use symbolic links for templates in your html
33+
subdirectory you don't have to make any changes. Otherwise you need to
34+
replace the symbolic links with hard links to the files or replace the
35+
symbolic links with the files.
36+
37+
This is a side effect of fixing a path traversal security issue. The
38+
security issue required a directory with a specific unusual name. This
39+
made it difficult to exploit. However allowing the use of
40+
subdirectories to organize the templates required that it be fixed.
41+
42+
2643
Database back end specified in config.ini
2744
-----------------------------------------
2845

0 commit comments

Comments
 (0)