WordPress before 3.5.2, when the uploads directory forbids write access, allows remote attackers to obtain sensitive information via an invalid upload request, which reveals the absolute path in an XMLHttpRequest error message.
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.