Caucho Quercus, as distributed in Resin before 4.0.29, allows remote attackers to bypass intended restrictions on filename extensions for created files via a %00 sequence in a pathname within an HTTP request.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-2947
http://www.kb.cert.org/vuls/id/309979