The locale feature in cgi-bin/luci allows remote authenticated users to test for the existence of arbitrary files. This is achieved by making an operation=write;locale=%0d request, followed by an operation=read request with a crafted Accept-Language HTTP header. The issue is related to the set sysinfo and get sysinfo functions in /usr/lib/lua/luci/controller/locale.lua in uhttpd.