2.6. CVE-2012-5650: DOM based Cross-Site Scripting via Futon UI

    14.01.2013

    Affected

    Apache CouchDB releases up to and including 1.0.3, 1.1.1, and 1.2.0 are vulnerable.

    Severity

    Moderate

    Vendor

    Query parameters passed into the browser-based test suite are not sanitised, and can be used to load external resources. An attacker may execute JavaScript code in the browser, using the context of the remote user.

    Upgrade to a supported CouchDB release that includes this fix, such as:

    Disable the Futon user interface completely, by adapting local.ini and restarting CouchDB:

    Or by removing the UI test suite components:

    • share/www/verify_install.html

    • share/www/couch_tests.html

    • share/www/custom_test.html

    This vulnerability was discovered & reported to the Apache Software Foundation by .