HighVulnerabilityPatch available

DIGIT platform SQL injection flaw flagged by CERT-In, upgrade to v2.9.3

CERT-In flagged a high-severity SQL injection in eGov’s DIGIT platform; operators should upgrade to DIGIT v2.9.3.

Published
Fixed in
DIGIT v2.9.3
Exploitation
Not confirmed. The CERT-In note, as reported by Medianama and Inc42, does not say whether the flaw has been exploited.

What happened

India’s CERT-In issued an advisory on November 25 about a high-severity SQL injection vulnerability in DIGIT, an open-source platform that state governments and municipalities use to deliver public services, according to Medianama. Inc42 also reports the note.

Both outlets quote CERT-In’s description. The flaw is caused by improper neutralization of user supplied input when SQL queries are built and executed in the affected User and Access Control Service components. An unauthenticated remote attacker could send specially crafted input through the affected API endpoint. Medianama reports that successful exploitation could allow arbitrary SQL queries, with possible unauthorized disclosure, modification or deletion of database information. Inc42 adds that an attacker could manipulate application logic.

DIGIT is developed and maintained by the eGov Foundation. Medianama says the CERT-In note is credited to Sarthak Chauhan. Inc42 reports that the eGov Foundation addressed the issue in DIGIT Core v2.9.3 and that CERT-In directs operators of affected deployments to update to the latest version. Medianama quotes CERT-In as asking users to “upgrade DIGIT to latest version v2.9.3”.

What the sources do not say:

  • CVE identifier: not confirmed. Neither outlet gives one.
  • Exploitation: both outlets say the note does not indicate whether the flaw has been exploited.
  • Disclosure timeline: Medianama says the note does not say when eGov was informed or how long the fix took.
  • Affected deployments: Medianama says no DIGIT-based system had been confirmed as affected at the time of writing, and that CERT-In has not said how many deployments run the affected version. Medianama also says eGov has not said whether it has notified state and municipal deployments directly.

Medianama’s own risk assessment, based on CERT-In’s description, is that a database-level flaw in a user and access control service could expose identity, financial or case-related data in systems that hold sensitive citizen data. It stresses that CERT-In has not said any such system was compromised.

Am I affected?

You may be affected if you operate, host or build on DIGIT Core. Medianama says exposure depends on whether a service runs DIGIT Core v2.9. The exact range of affected versions is not confirmed in the sources, and the only fixed version named is v2.9.3.

Both outlets describe DIGIT as a base for public-service applications. Examples named include property tax, trade licences, water, health, court systems and vaccination portals. Medianama says UPYOG, built under India’s National Urban Digital Mission, uses DIGIT as its foundation. Whether any given UPYOG or other DIGIT-based deployment is affected is not confirmed.

Medianama notes that governments run their own DIGIT instances and that system integrators can build on the platform. If you are an integrator or a service owner, check with whoever hosts your instance which DIGIT Core version it runs.

What to do now

  1. Identify every DIGIT instance you operate or depend on, including those run by integrators or other agencies.
  2. Check the DIGIT Core version in each instance against v2.9.3, the fixed version named by CERT-In as reported by Medianama and Inc42.
  3. Upgrade affected instances to v2.9.3, as CERT-In advises.
  4. Ask your vendor or integrator for confirmation of the version in production and for the upgrade date.
  5. Treat any signs of exploitation as unconfirmed rather than ruled out. The sources do not say whether the flaw has been used, so review your own logs if you can.

Sources