what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 40911

Secunia Security Advisory 40911
Posted Oct 21, 2010
Authored by Secunia | Site secunia.com

Secunia Security Advisory - Secunia Research has discovered multiple vulnerabilities in PhreeBooks, which can be exploited by malicious users to conduct script insertion attacks, SQL injection attacks, and disclose sensitive information and by malicious people to conduct cross-site scripting and SQL injection attacks.

tags | advisory, vulnerability, xss, sql injection
SHA-256 | 9a34fe45793f6ce613dd230dd1eaacac681b0ce74c1beb8ee6adc01e7a56e8f6

Secunia Security Advisory 40911

Change Mirror Download
----------------------------------------------------------------------


Windows Applications Insecure Library Loading

The Official, Verified Secunia List:
http://secunia.com/advisories/windows_insecure_library_loading/

The list is continuously updated as we confirm the vulnerability reports so check back regularly too see if any of your apps are affected.


----------------------------------------------------------------------

TITLE:
PhreeBooks Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA40911

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/40911/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=40911

RELEASE DATE:
2010-10-21

DISCUSS ADVISORY:
http://secunia.com/advisories/40911/#comments

AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)

http://secunia.com/advisories/40911/

ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS

https://ca.secunia.com/?page=viewadvisory&vuln_id=40911

ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING

http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/

DESCRIPTION:
Secunia Research has discovered multiple vulnerabilities in
PhreeBooks, which can be exploited by malicious users to conduct
script insertion attacks, SQL injection attacks, and disclose
sensitive information and by malicious people to conduct cross-site
scripting and SQL injection attacks.

1) Input passed via arbitrary parameters to index.php (when "cat",
"module", and "subject" are set) is not properly sanitised in the
"gen_get_all_get_params()" function in
modules/general/functions/gen_functions.php before being returned to
the user. This can be exploited to execute arbitrary HTML and script
code in a user's browser session in context of an affected site.

2) Input passed via the "search_text" parameter to index.php (when
"cat" and "module" are set) is not properly sanitised before being
returned to the user. This can be exploited to execute arbitrary HTML
and script code in a user's browser session in context of an affected
site.

3) Input passed via the "date_from" and "date_to" parameters to
index.php (when "cat" is set to "general" and "module" is set to
"search") is not properly sanitised before being returned to the
user. This can be exploited to execute arbitrary HTML and script code
in a user's browser session in context of an affected site.

4) Input passed via the "search_field" parameter to
includes/addons/PhreeHelp/leftframe.php is not properly sanitised
before being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.

5) Input passed via the "img" parameter to index.php (when "cat" is
set to "inventory" and "module" is set to "popup_image") is not
properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.

6) Input passed to the "form" parameter in
modules/services/pages/popup_shipping/js_include.php is not properly
sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a user's browser session in
context of an affected site.

7) Input passed via the "index" parameter to index.php (when "cat" is
set to "services" and "module" is set to "popup_label_button") is not
properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.

8) Input passed via the "my_note" parameter to index.php (when
"my_note_submit" is set to "Add" and "module_id" is set to
"my_notes") is not properly sanitised before being displayed to the
user. This can be exploited to insert arbitrary HTML and script code,
which will be executed in a user's browser session in context of an
affected site when the malicious data is being viewed.

9) Input passed via the "search_field" parameter to
includes/addons/PhreeHelp/leftframe.php is not properly sanitised
before being used in SQL queries. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

10) Input passed to the "idx" parameter in
includes/addons/PhreeHelp/index.php is not properly sanitised before
being used in SQL queries. This can be exploited to manipulate SQL
queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

11) Input passed via the "tpl" parameter to index.php (when "cat" and
"module" are set) is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

12) Input passed via the "cID" and "oID" parameters to index.php
(when "cat" is set to "orders", "module" is set to "ajax", and "op"
is set to "load_order") is not properly sanitised before being used
in SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

13) Input passed via the "search_period" parameter to index.php (when
"cat" is set to "banking", "module" is set to "popup_bills", and "jID"
is set) is not properly sanitised before being used in SQL queries.
This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

14) Input passed via the "search_period" parameter to index.php (when
"cat" is set to "orders", "module" is set to "popup_orders", "form" is
set to "orders" and "jID" is set) is not properly sanitised before
being used in SQL queries. This can be exploited to manipulate SQL
queries by injecting arbitrary SQL code.

15) Input passed via the "search_period" parameter to index.php (when
"cat" is set to "orders" and "module" is set to "inv_mgr") is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires "Read Only"
permissions for "Invoice Manager" in the "Customers" section.

16) Input passed via the "search_period" parameter to index.php (when
"cat" is set to "banking" and "module" is set to "reconciliation") is
not properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires "Read Only"
permissions for "Account Reconciliation" in the "Banking" section.

17) Input passed via the "search_period" parameter to index.php (when
"cat" is set to "orders" and "module" is set to "status", and jID is
set) is not properly sanitised before being used in SQL queries. This
can be exploited to manipulate SQL queries by injecting arbitrary SQL
code.

Successful exploitation of this vulnerability requires "Read Only"
permissions for "Sales Order Manager" in the "Customers" section.

18) Input passed via the "cID" parameter to index.php (when "cat" is
set to "accounts", "module" is set to "ajax", and "op" is set to
"load_contact") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

19) Input passed via the "guess" parameter to index.php (when "cat"
is set to "accounts", "module" is set to "ajax", and "op" is set to
"load_contact_info") is not properly sanitised before being used in
SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

20) Input passed via the "type" parameter to index.php (when "cat" is
set to "accounts" and "module" is set to "popup_accts") is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

21) Input passed via the "pID" parameter to index.php (when "cat" is
set to "general" and "module" is set to "ctl_panel") is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

22) Input passed via the "sID" parameter to index.php (when "cat" is
set to "setup", "module" is set to "popup_setup", and "subject" is
set to "zones", "countries", "inv_tabs", "tax_auths_vend",
"tax_rates_vend", or "tax_rate") is not properly sanitised before
being used in SQL queries. This can be exploited to manipulate SQL
queries by injecting arbitrary SQL code.

23) Input passed via the "sID" parameter to index.php (when "cat" is
set to "setup", "module" is set to "popup_setup", and "subject" is
set to "departments", "project_phases", "chart_of_accounts",
"currency", "dept_types", or "project_costs") is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

24) Input passed via the "iID", "upc", and "sku" parameters to
index.php (when "cat" is set to "inventory", "module" is set to
"ajax", "op" is set to "inv_details" and "fID" is set) is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

25) Input passed via the "cID" and "sku" parameters to index.php
("cat" is set to "inventory", "module" is se to "main" and "action"
is set) is not properly sanitised before being used in SQL queries.
This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation of this vulnerability requires "Edit"
permissions for "Edit/Maintain" in the "Inventory" section.

26) Input passed via the "cID" parameter to index.php (when "cat" is
set to "inventory", "module" is set to "popup_inv", and "f2" is set)
is not properly sanitised before being used in SQL queries. This can
be exploited to manipulate SQL queries by injecting arbitrary SQL
code.

27) Input passed via the "sku" parameter to index.php (when "cat" is
set to "inventory", "module" is set to "popup_prices") is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

28) Input passed via the "psID" parameter to index.php (when "cat" is
set to "services", "module" is set to "price_sheets", "action" is set
to "revise") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation of this vulnerability requires "Edit"
permissions for "Price Sheet Manager" in the "Customers" section.

29) Input passed via the "rID" parameter to index.php (when "cat" is
set to "gen_ledger", "module" is set to "ajax", and "op" is set to
"load_record") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

30) Input passed via the "rID" parameter to index.php (when "cat" is
set to "reportwriter", "module" is set to "ajax", and "op" is set to
"load_email_msg") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

31) Input passed via the "ReportID" parameter to index.php (when
"cat" is set to "reportwriter" and "module" is set to "form_gen",
"rpt_gen", or "builder") is not properly sanitised before being used
in SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires "Read Only"
permissions for "Reports" in the "Tools" section.

32) Input passed via the "short_name" parameter to index.php (when
"cat" is set to "accounts", "module" is set to "main", and "type" is
set to "i") when adding or editing a contact is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires "Add"
permissions for "PhreeCRM" in the "Customers" section and that
"magic_quotes_gpc" is disabled.

33) Input passed via the "my_note" parameter to index.php (when
"my_note_submit" is set to "Add" and "module_id" is set to
"my_notes") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

34) Input passed via the "my_title" and "my_url" parameters to
index.php (when "my_personal_links" is set to "Add" and "module_id"
is set to "personal_links") is not properly sanitised before being
used in SQL queries. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.

35) Input passed via the "type" and "guess" parameters to index.php
(when "cat" is set to "orders", "module" is set to "ajax", and "op"
is set to "load_searches") is not properly sanitised before being
used in SQL queries. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.

36) Input passed via the "gl_acct_id" parameter to index.php (when
"cat" is set to "banking", "module" is set to "ajax", and "op" is set
to "acct_balance") is not properly sanitised before being used in SQL
queries. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.

37) Input passed via the "cID" and "bID" parameters to index.php
(when "cat" is set to banking", "module" is set to "ajax", and "op"
is set to "load_bill") is not properly sanitised before being used in
SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

38) Input passed via the "contact_id" parameter to index.php (when
"cat" is set to "banking", "module" is set to "ajax", and "op" is set
to "stored_payments") is not properly sanitised before being used in
SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

39) Input passed via the "jID" parameter to index.php (when "cat" is
set to "banking" and "module" is set to "popup_bills") is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

40) Input passed via the "db" parameter to soap/application_top.php
is not properly verified before being used to include files. This can
be exploited to include arbitrary files from local resources via
directory traversal sequences and URL-encoded NULL bytes.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

41) Input passed via the "module" parameter to index.php (when "cat"
is set) is not properly verified before being used to include files.
This can be exploited to include arbitrary files from local resources
via directory traversal sequences and URL-encoded NULL bytes.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

42) Input passed via the "op" parameter to index.php (when "cat" is
set and "module" is set to "ajax") is not properly verified before
being used to include files. This can be exploited to include
arbitrary files from local resources via directory traversal
sequences and URL-encoded NULL bytes.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

43) Input passed via the "subject" parameter to index.php (when "cat"
is set to "setup" and "module" is set to "popup_setup") is not
properly verified before being used to include files. This can be
exploited to include arbitrary files from local resources via
directory traversal sequences and URL-encoded NULL bytes.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

44) Input passed via the "subject" parameter to index.php (when "cat"
is set to "services" and "module" is set to "popup_tracking") is not
properly verified before being used to include files. This can be
exploited to include arbitrary files from local resources via
directory traversal sequences and URL-encoded NULL bytes.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

45) Input passed via the "subject" parameter to index.php (when "cat"
is set to "services" and "module" is set to "popup_label_mgr") is not
properly verified before being used to include files. This can be
exploited to include arbitrary files from local resources via
directory traversal sequences and URL-encoded NULL bytes.

Successful exploitation requires "Read Only" permissions for
"Shipping Manager" in the "Tools" section and that "magic_quotes_gpc"
is disabled.

The vulnerabilities are confirmed in version 2.1. Other versions may
also be affected.

SOLUTION:
Use another product.

PROVIDED AND/OR DISCOVERED BY:
Secunia Research

ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2010-121/
http://secunia.com/secunia_research/2010-122/
http://secunia.com/secunia_research/2010-123/
http://secunia.com/secunia_research/2010-124/

OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXPLOIT:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close