SQL injection bug in frontend database configuration page (quotes not correctly escaped in password)

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 2.0.2rc1, 2.1.0
    • Affects Version/s: 2.0.0
    • Component/s: Frontend (F)
    • None
    • Environment:
      Linux Debian Squeeze, Apache 2.2.16, PostgreSQL 9.1, php 5.3.3

      On database configuration page, entering a quote (') in the password leads to an SQL error :

      For example : if the password is foo'bar :

      pg_connect(): Unable to connect to PostgreSQL server: missing "=" after "bar'" in connection info string [include/db.inc.php:98]

            Assignee:
            Unassigned
            Reporter:
            Sétphane Leibovitsch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: