BMDS Online 25.1.2 Security Fixes
A potential security vulnerability was discovered in BMDS Online version 25.1 where the password hash for an analysis was recoverable using the read-only View version of the analysis and the “Clone Analysis” function.
EPA rapidly implemented a fix to this vulnerability in BMDS Online 25.1.2, revising the “Clone Analysis” code to generate a new 32-digit ID hash and 12-digit password hash when an analysis is cloned.
This solution only pertains to analyses created using BMDS Online 25.1.2. For analyses previously created with BMDS Online 25.1, the BMDS team has assigned new password hashes to all existing analyses. Clicking on an old “Update” link will automatically redirect users to a read-only “View” version of the analysis. Users can then confirm that all input data (e.g., dataset, analysis name, analysis description, option sets, etc.) and output data (i.e., modeling results) are identical to the Word (.docx) reports previously created from the analysis. If the results are identical between BMDS Online 25.1.2 and the Word report, the user can then clone the analysis to create a new analysis that will have new, unique ID and password hashes. New analyses are not subject to the potential security vulnerability.
More about the Fix
In BMDS Online, after generating a Word report, two links are included at the top of the report: a “View” link and an “Update” link:
When an analysis is created in BMDS Online, a 32-digit alphanumeric hash is generated as the unique identifier for the analysis. A 12-digit alphanumeric “password” hash is also generated, and these two hashes are appended to create the unique URL for the analysis:
Clicking on the “Update” link in the Word report opens a browser window where the URL includes both the ID and password hashes. This gives the user full access to the analysis: they can delete or add datasets; alter existing datasets; add, delete, or alter options sets; etc.
However, clicking on the “View” link in the Word report opens a browser window where the URL only includes the ID hash. This does not grant the user full access to the analysis; they only have read access where all inputs and outputs are static. The View link is intended for when users want to securely share the full modeling results for an analysis.
The identified data security vulnerability was that password hashes could have been recapitulated from a “View”only analysis using the “Clone Analysis” feature. In BMDS Online 25.1, cloning an analysis from a “View” only analysis creates a new analysis that has a new, unique 32-digit ID hash. The vulnerability stemmed from the fact that the cloned analysis was NOT given a new, unique password hash, but instead assigned the password hash from the original analysis.
Before the fix, the user could have copied the old 12-digit password hash from the cloned analysis and appended it to the end of the URL for the “View” analysis, thereby getting full access to the ORIGINAL analysis.
The fix to this vulnerability is implemented in BMDS Online 25.1.2. Analyses performed in BMDS Online that were never shared and analyses performed in BMDS Desktop or with pybmds were not subject to this vulnerability.