Skip to content

v2.10.0 Fixes & Enhancements - #929

Merged
jaredhendrickson13 merged 33 commits into
masterfrom
next_patch
Aug 8, 2026
Merged

v2.10.0 Fixes & Enhancements#929
jaredhendrickson13 merged 33 commits into
masterfrom
next_patch

Conversation

@jaredhendrickson13

Copy link
Copy Markdown
Member

Fixes

  • Implements core Command auto-escaping to address command injection risks
  • Fixes an issue where ACME certificate issuance logs no longer populated due to out-of-band changes in the upstream acme package
  • Addresses a Validator object order of precedence issue that caused out of sequence validation for some fields
  • Various PHP >8.2 syntax fixed in preparation for pfSense CE 2.9.0

Changes

  • Adds sensitive flag to OpenVPNClient auth_pass field
  • Adds sensitive flag to User ipsecpsk field
  • Adds sensitive flag to WireGuardPeer presharedkey field
  • Remaining shell_exec and exec calls have been replaced with \RESTAPI\Core\Command for added protections
  • Basic auth is now only considered the requested method when a client provides both a username AND password
  • Auth is_requested now uses static analysis to determine the client's requested auth method
  • Adds additional guard clauses during auth handling

jaredhendrickson13 and others added 30 commits August 5, 2026 20:47
The intention for this wrapper class was to force escaping at a central location. This was either never implemented or was removed early in v2's development cycle. This commit implements the intended logic and closes command injection gaps at a core level.
Some fields were not marked as sensitive during the initial implementation of the sensitive flag. This commit adds the flag to applicable fields.
The field is marked as sensitive so it is not necessary. Admins can override the sensitive flag if they want to accept the risk of exposing it through the API.
There have been out of band changes added to the acme package that are no publicly available. The issue_certificate command no longer prints the logs and the implementation broke because of this. To capture the results, this commit tracks the issueance log and extracts only the new log items as the result.
@jaredhendrickson13
jaredhendrickson13 merged commit 805c7f0 into master Aug 8, 2026
11 checks passed
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.

1 participant