-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Add N-able N-Central authentication bypass and XXE scanner module (CVE-2025-9316, CVE-2025-11700) #20713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
nice! |
…ort methods, fix SSL handling
| register_options([ | ||
| OptIntRange.new('APPLIANCE_ID', [true, 'Appliance ID range to test (e.g., 1-30)', '1-30']), | ||
| OptString.new('TARGETURI', [true, 'The base path to N-Central', '/']), | ||
| OptString.new('FILE', [false, 'File to read via XXE (e.g., /etc/passwd, /opt/nable/var/ncsai/etc/ncbackup.conf, /var/opt/n-central/tmp/ncbackup/ncbackup.bin, /opt/nable/etc/masterPassword, /etc/shadow)', '/etc/passwd']), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this option be required? Thinking of the scenario where this module option could be unset via the console commands. Might be the same consideration for LOG_PATH.
| 'Proc' => proc do |cli, req| | ||
| on_request_uri(cli, req) | ||
| end, | ||
| 'Path' => '/' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to have this be configurable via the datastore options?
| return | ||
| end | ||
|
|
||
| sleep(2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would we potentially be able to make use of retry_until_truthy on trigger_xxe instead of sleep(2) here?
…igurable timeout option
|
Thanks for the review @cgranleese-r7! I've applied the following changes:
|
…rvice instead of modifying datastore
Hello Metasploit team,
I've pushed a new auxiliary scanner module that tests two CVEs affecting N-able N-Central:
The module combines both vulnerabilities to achieve unauthenticated file read on affected N-Central instances (versions < 2025.4.0.9).
I've tested the module locally and it works as expected. If needed, I can provide HTTP logs from my testing sessions.
Thanks!