Skip to content

Disable GUI inspection tool in secure mode#13487

Merged
feerrenrut merged 1 commit into
rcfrom
disableGUIInspection
Mar 16, 2022
Merged

Disable GUI inspection tool in secure mode#13487
feerrenrut merged 1 commit into
rcfrom
disableGUIInspection

Conversation

@seanbudd

Copy link
Copy Markdown
Member

Thanks to @CyrilleB79 for reporting.

Link to issue number:

GitHub Advisory GHSA-mvc8-5rv9-w3hx: GHSA-mvc8-5rv9-w3hx

Summary of the issue:

The wx GUI inspection tool includes a python console.
If the user binds a gesture to the startWxInspectionTool script and their config is copied to be used on logon screen, this tool can be opened from the logon screen.
This allows a user to open the python console from the logon screen with system privileges.

Description of how this pull request fixes the issue:

Disable the possibility to open wx GUI inspection tool when NVDA is running in secure mode.

Testing strategy:

Manual test:

  • Start NVDA normally
  • From input gesture dialog, Bind a gesture to open the wx GUI inspection tool.
  • Execute the gesture and check that the tool starts.
  • Type Windows+R, type "nvda -s" and Enter to restart NVDA in secure mode.
  • Execute the gesture and check that the tool does not start.

Known issues with pull request:

None

Change log entries:

Security fixes
The wx GUI inspection tool is now disabled on secure screens.

Code Review Checklist:

  • Pull Request description:
    • description is up to date
    • change log entries
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • API is compatible with existing add-ons.
  • Documentation:
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English

@seanbudd seanbudd requested a review from a team as a code owner March 16, 2022 03:39
@seanbudd seanbudd requested review from michaelDCurran and removed request for a team March 16, 2022 03:39
@feerrenrut

Copy link
Copy Markdown
Contributor

The advisory will be published after the patch release is published.

feerrenrut
feerrenrut previously approved these changes Mar 16, 2022
@seanbudd seanbudd added this to the 2021.3.4 milestone Mar 16, 2022
@AppVeyorBot

Copy link
Copy Markdown
  • Build execution time has reached the maximum allowed time for your plan (60 minutes).

See test results for failed build of commit 626741ed0e

GitHub Advisory GHSA-mvc8-5rv9-w3hx

Summary:
The wx GUI inspection tool includes a python console.
If the user binds a gesture to the startWxInspectionTool script and
their config is copied to be used on logon screen, this tool could then be
opened from the logon screen.
This would allow a user to open the python console from the logon screen with
system privileges.

Description of change:
Disables opening the wx GUI inspection tool when NVDA is
running in secure mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants